logoalt Hacker News

koolbatoday at 3:22 AM1 replyview on HN

It’s a wonderful feature when you accidentally nuke your one and only local copy.


Replies

lexicalitytoday at 8:21 AM

Depending on how badly you nuked it, it's probably still in your `git reflog` locally. Normal git hangs on to orphaned commits too. (Until `git gc` runs)