🎙 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 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?

  1. A.Create a merge commit
  2. B.Squash and merge
  3. C.Rebase and merge
  4. 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 →