Answers for "git undo rebase"

4

git undo rebase

git reflog
Posted by: Guest on March-26-2020
2

git undo rebase

git reset --hard ORIG_HEAD
Posted by: Guest on March-26-2020
1

git undo rebase

git reset --hard HEAD@{5}
Posted by: Guest on March-26-2020
0

git undo rebase

git reflog # determine pre-rebase head number, N
git reset --hard HEAD@{N}
Posted by: Guest on April-07-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language