Google News
logo
Git - Interview Questions
In which scenario do you use the "git cherry-pick" command?
Git cherry-pick command can sometimes result in duplicate commits, and thus, it must be cautiously used. The below situations are apt if planning to use the git cherry-pick command :
 
* When you mistakenly make a commit in the wrong branch.

* When you want to make changes that are proposed by other team members.
Advertisement