Does anybody know how to easily undo a git rebase?
The only way that comes to mind is to go at it manually:
Charles's answer works, but you may want to do this:
git rebase --abort
to clean up after the reset.
reset
Otherwise, you may get the message “Interactive rebase already started”.
Interactive rebase already started