Created
November 23, 2015 06:10
-
-
Save valikos/982fecf64943d5987958 to your computer and use it in GitHub Desktop.
Reset rebase
This file contains hidden or 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
# find head commit | |
git reflog | |
# now reset hard - where N is the head commit found in the reflog | |
git reset --hard HEAD@{N} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment