Restoring Lost Work in Git: A Forbidden Love Story

For a long time, I’ve said git is writing fan fiction when you’re merging and rebasing. git loves fan fiction so much that it’ll even invite you to help - like when you interactive rebase.

…so I wrote a piece of fan fiction about git.

Using this forbidden love story, I’ll show that you should love refs and the reflog. We’ll talk about how to set yourself up for success and find lost changes. You’ll become comfortable with multiple to restore lost work.

Most importantly, you’ll walk away confident that git loves you.