← Quiz: Rebase vs Merge and Clean History: all 15 questions
Quiz: Rebase vs Merge and Clean History · Question 13 of 15
What does git commit --fixup <commit prepare?
What does git commit --fixup <commit> prepare?
- A.A commit that
git rebase -i --autosquashwill automatically fold into the given commit - B.A revert of the given commit
- C.A new branch
- D.A tag on the given commit
Answer & explanation
Correct answer: A commit that git rebase -i --autosquash will automatically fold into the given commit
It is a tidy way to fix an earlier commit before opening a pull request.
Can you get the rest right without peeking?
Take the timed Quiz: Rebase vs Merge and Clean History quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →