Google News
logo
Git - Interview Questions
What do you mean by "git cherry-pick"?
If by mistake, you have committed a change into the wrong branch, you can use the “git cherry-pick” command. This command will allow you to apply commit from one branch to another branch. 
$ git cherry-pick <commit id>
Advertisement