← Quiz: Rebase vs Merge and Clean History: all 15 questions
Quiz: Rebase vs Merge and Clean History · Question 2 of 15
What is the golden rule of rebasing?
What is the golden rule of rebasing?
- A.Always rebase main onto your branch
- B.Rebase only on Fridays
- C.Never rebase commits that other people already have
- D.Never rebase more than three commits
Answer & explanation
Correct answer: Never rebase commits that other people already have
Replacing shared commits makes other people's history disagree with yours.
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 →