← Quiz: Rebase vs Merge and Clean History: all 15 questions
Quiz: Rebase vs Merge and Clean History · Question 5 of 15
Which GitHub merge button puts exactly one new commit on main for the whole pull request?
Which GitHub merge button puts exactly one new commit on main for the whole pull request?
- A.Create a merge commit
- B.Squash and merge
- C.Rebase and merge
- D.Close pull request
Answer & explanation
Correct answer: Squash and merge
Squash and merge combines all the PR's commits into one.
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 →