Last active
February 20, 2022 07:09
-
-
Save hoyangtsai/bbc3dfc24c5c9e314c80fac8552157a8 to your computer and use it in GitHub Desktop.
undo git 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
git reflog | |
git reset --hard HEAD@{<number>} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ref: https://stackoverflow.com/questions/134882/undoing-a-git-rebase