Git · Middle · Question 75 of 75
What does git merge --squash feature do locally?
- 1Merges
featureand deletes the branch afterwards - 2Rebases
featureand fast-forwards the current branch - ✓Correct answer: Stages all of
feature's changes without committing
Explanation
You then commit once with your own message. No merge commit is created and feature isn't recorded as merged, the same as a squash merge on a hosting platform.