3 ms·
`git reset --hard ORIG_HEAD` is often enough to "undo" a rebase that went haywire. `git rebase --abort` can be helpful too, if you run into some unexpected mer
by dvlsg 5y ago
`git reset --hard ORIG_HEAD` is often enough to "undo" a rebase that went haywire.
`git rebase --abort` can be helpful too, if you run into some unexpected merge conflicts along the way.