Hacker News new | ask | show | jobs
by cerved 2 days ago
You dont need to open the reflog you can just

    git reset --hard @{1}
After a rebase to "undo" it.