Created
October 10, 2012 20:18
-
-
Save rahearn/3868151 to your computer and use it in GitHub Desktop.
Recovery steps for messed up 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
Recovering from a botched rebase: | |
1) mess up a rebase | |
2) `git reflog` and find the last commit before the rebase started | |
3) `git reset --hard <<that commit>>` | |
4) rebase again and try not to mess up this time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment