← Quiz: Rebase vs Merge and Clean History: all 15 questions
Quiz: Rebase vs Merge and Clean History · Question 15 of 15
What does git cherry-pick <id create?
What does git cherry-pick <id> create?
- A.A branch pointing to that commit
- B.A new commit on your branch with the same change as the picked commit
- C.A copy of the whole other branch
- D.A tag named after the commit
Answer & explanation
Correct answer: A new commit on your branch with the same change as the picked commit
The new commit has a different id because its parent is different.
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 →