← Quiz: Rebase vs Merge and Clean History: all 15 questions
Quiz: Rebase vs Merge and Clean History · Question 12 of 15
Which GitHub merge button keeps every branch commit and makes history linear?
Which GitHub merge button keeps every branch commit and makes history linear?
- A.Create a merge commit
- B.Squash and merge
- C.Rebase and merge
- D.Close pull request
Answer & explanation
Correct answer: Rebase and merge
Each commit is re-created on top of main, without a merge commit.
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 →