Interactive page for figuring out how to undo or fix things in git. The “take a backup first” is the best advice. To be honest, I tend to “give up and go to a known good state” a bunch of the time.

Tony Meyer @tonyandrewmeyer