🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Git Workflow and Interview: all 10 questions

Quiz: Git Workflow and Interview · Question 3 of 10

Which command applies one specific commit from another branch?

Which command applies one specific commit from another branch?

  1. A.git merge
  2. B.git cherry-pick
  3. C.git rebase
  4. D.git stash
Answer & explanation

Correct answer: git cherry-pick

cherry-pick copies a single commit onto your current branch.

Can you get the rest right without peeking?

Take the timed Quiz: Git Workflow and Interview quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →