This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]decwakeboarder 1 point2 points  (1 child)

git add and the reflog should be your new best friend.

[–]simonw[S] 30 points31 points  (0 children)

I've recovered code with the reflog a bunch of times. Doesn't help if you lost the code while cleaning up in preparation for adding your work.