Hacker News new | ask | show | jobs
by julienb_sea 518 days ago
Oh shit, I accidentally `git reset HEAD~1` and moved the last commit to file diffs, which was a merge to master, and my file diff now is both the last branch merge and everything I've done in the last 8hrs. I did this once and it was a gigantic PITA to undo, if anyone has any hot tips for that particular idiocy...
1 comments

`git reset` again to move to the right commit