Created
February 22, 2012 10:29
-
-
Save rollxx/1884069 to your computer and use it in GitHub Desktop.
git cherry pick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git checkout target-branch | |
$ git cherry-pick 011210939923d812421d037fbb89168495e9b254 | |
if something goes wrong -- revert changes: | |
$ git reset --merge | |
011210939923d812421d037fbb89168495e9b254 = commit from other branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment