1 min read

Git Recovery

I found this today and its an incredable cheatsheet on how to recover from almost development whoopsie thanks to Git
Git Recovery

This is just something that is worth keeping to hand. I've been using git for all my code and scripts for years. Since I'm usually the only developer on any of my projects people tend to ask why.

I think of it as the universe undo. I like most late night programmers have come woke up to new code written in a late night drunken spree wondering why that seemed like a good idea. Some times you end up with gold but more often than most it's a mess.

Justin Hileman produced this fantastic flow chart on recovering from a git mess as part of his talk on Changing History