ALL


  Simple tutorial on git cherry-pick

It is a common operation to move code from one branch to another branch in a multi-branch git repository. Normally there are two scenarios:Want to move all changes in one branch to another branch, now it's called git merge Want to move only some change/changes from one branch to another branch, now it's called git cherry-pickUsageThe purpose of git cherry-pick is to apply some change from one branch to another branch. git cherry-pick [commitHash]The above command is to apply the commit commitHash to the current working branch. It will create a new commit in the current working b...

8,589 0       TUTORIAL GIT GIT CHERRY-PICK