← Quiz: Rebase vs Merge and Clean History: all 15 questions
Quiz: Rebase vs Merge and Clean History · Question 10 of 15
Which command lets you combine, reorder or reword several of your own unpushed commits?
Which command lets you combine, reorder or reword several of your own unpushed commits?
- A.git log --graph
- B.git merge --no-ff
- C.git rebase -i main
- D.git fetch --all
Answer & explanation
Correct answer: git rebase -i main
Interactive rebase lists your commits so you can mark them pick, squash, reword or drop.
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 →