Git Recovery

Git Recovery

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

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

Git Recovering from a Mess


© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.