🎙 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 4 of 10

Which is true about rebase?

Which is true about rebase?

  1. A.It never changes commit ids
  2. B.It rewrites commits, so don't rebase shared branches
  3. C.It's the same as merge
  4. D.It deletes branches
Answer & explanation

Correct answer: It rewrites commits, so don't rebase shared branches

Rebased commits get new ids, which confuses anyone who already has the old ones.

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 →