← 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:
- A.Safe, because merge does not rewrite existing commits
- B.Dangerous, because merge changes commit ids
- C.Impossible
- 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 →