Did i just destroy my work by incorrectly using git rebase
This question already has an answer here:
Git makes it insanely hard to lose work.
Run:
git reflog
Than look for the commit that was just before the rebase
Then check it out
git checkout <sha>
Look around, is it the version you wanted to recover?
If so, create a branch here
git checkout -b mybranch
链接地址: http://www.djcxy.com/p/23530.html
上一篇: rebase分支掌握恢复