🎙 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 11 of 15

What does merging main into your feature branch add to the branch's history?

What does merging main into your feature branch add to the branch's history?

  1. A.Nothing at all
  2. B.A merge commit that joins main's latest work into your branch
  3. C.New ids for all your commits
  4. D.A tag
Answer & explanation

Correct answer: A merge commit that joins main's latest work into your branch

Merging keeps your commits unchanged but adds 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 →