logoalt Hacker News

cervedtoday at 10:08 AM0 repliesview on HN

You dont need to open the reflog you can just

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