I couldn't count the number of times I screwed up with Git and its infernal way of management. Maybe it's my fault for not getting serious about it once and going for broke.
Today I found a site where they help you with some typical screwups and how to solve them without pulling your hair out.
Oh Shit, Git!?!Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation has this chicken and egg problem where you can't search for how to get yourself out of a mess, unless you already know the name of the thing you need to know about in order to fix your problem. So here are some bad situations I've...