Git · Middle · Question 49 of 75
What does git commit --fixup=<hash> prepare?
- 1A copy of
<hash>on the current branch - ✓Correct answer: A commit that autosquash will fold into
<hash> - 3A commit that reverts
<hash>automatically
Explanation
It creates a commit titled fixup! <original subject>. Later git rebase -i --autosquash moves and squashes it into the target commit.