← Quiz: Rebase vs Merge and Clean History: all 15 questions
Quiz: Rebase vs Merge and Clean History · Question 9 of 15
In the lesson, "Add cart model" changed from 5686c50 to 2d43900 after the rebase. What happened to the code change itse…
In the lesson, "Add cart model" changed from 5686c50 to 2d43900 after the rebase. What happened to the code change itself?
- A.It was lost
- B.It is the same change, re-applied on top of the latest main
- C.It was merged with the footer fix into one commit
- D.It moved to a new branch
Answer & explanation
Correct answer: It is the same change, re-applied on top of the latest main
Only the parent and therefore the id changed; the change is replayed unchanged unless there is a conflict.
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 →