🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Branching and Merging: all 10 questions

Quiz: Branching and Merging · Question 9 of 10

Why should you not rebase a branch that teammates are already using?

Why should you not rebase a branch that teammates are already using?

  1. A.Rebase deletes all files
  2. B.Rebase rewrites commits with new ids, so teammates' copies no longer match
  3. C.Rebase only works on main
  4. D.Rebase cannot handle conflicts
Answer & explanation

Correct answer: Rebase rewrites commits with new ids, so teammates' copies no longer match

Rewriting shared history forces everyone to repair their branches.

Can you get the rest right without peeking?

Take the timed Quiz: Branching and Merging quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →