🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.A commit that git rebase -i --autosquash will automatically fold into the given commit
  2. B.A revert of the given commit
  3. C.A new branch
  4. 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 →