Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

git undo rebase

git reflog # determine pre-rebase head number, N
git reset --hard HEAD@{N}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #git #undo #rebase
ADD COMMENT
Topic
Name
4+6 =