Yeah learned this the hard way.

you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 1 year ago

git reflog is your friend

The worst thing you could do is delete your local git repo.

  • source