Created
October 27, 2015 00:37
-
-
Save miqui/8787884f4f193a278b5a to your computer and use it in GitHub Desktop.
git undo merge
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
Undoing a merge: | |
$ git pull $REMOTE $BRANCH | |
# uh oh, that wasn't right | |
$ git reset --hard ORIG_HEAD | |
# should be ok now... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment