Cherry pick in Git
Cherry picking in git is a way by which you can move a commit from one branch and apply it onto another.
Make sure you are on the branch you want apply the commit to
Execute the following:
commit-hash can be found using git log
Make sure you are on the branch you want apply the commit to
git checkout master
Execute the following:
git cherry-pick <commit-hash>
commit-hash can be found using git log
Comments
Post a Comment