Tuesday, April 14, 2015

How to `cherry-pick` a commit in a remote branch in Git

In Git, to `cherry-pick` a commit in a remote branch, do the following:

git fetch
git checkout issue-1004
git checkout master
git cherry-pick a2d64cb52f7ef25ad52f18667ae081cddccc7153

Reference:
http://stackoverflow.com/questions/13788945/how-to-cherry-pick-from-a-remote-branch

No comments:

Post a Comment