We've all been there :) You can also directly reset your current branch to point at the lost commit, instead of making a branch for it:
$ git reset --hard shaOfResetCommit -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/u2DMYSLAwJMJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
