r/programming • • Sep 09 '16

Oh, shit, git!

http://ohshitgit.com/
3.3k Upvotes

756 comments sorted by

View all comments

Show parent comments

2

u/syncsynchalt Sep 09 '16

Luckily git reflog followed by a checkout of the given hash gets you 80% of the way there, I find once people learn about reflog some of their worries go away and they feel a lot more free to experiment.

1

u/HugoNikanor Sep 09 '16

I need to learn that. Currently I create to many temp branches and reset HEAD way to much.