🎙 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 8 of 15

Merging main into a shared feature branch that three people push to is:

Merging main into a shared feature branch that three people push to is:

  1. A.Safe, because merge does not rewrite existing commits
  2. B.Dangerous, because merge changes commit ids
  3. C.Impossible
  4. D.Only allowed with --force
Answer & explanation

Correct answer: Safe, because merge does not rewrite existing commits

Merge only adds a new merge commit; everyone's existing commits stay the same.

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 →