Does anybody know how to easily undo a git rebase?
The only way that comes to mind is to go at it manually:
I actually put a backup tag on the branch before I do any nontrivial operation (most rebases are trivial, but I'd do that if it looks anywhere complex).
Then, restoring is as easy as git reset --hard BACKUP.
git reset --hard BACKUP