In Git, how do you rollback a rebase if you\'re not happy with it?
Git doesn\'t have dry-run for rebase. If I did a rebase and have not pushed it yet, how do I rollb
Rebase keeps a backup of the old state as ORIG_HEAD. So you can revert the last rebase by running:
ORIG_HEAD
git reset --hard ORIG_HEAD