logoalt Hacker News

bigcloud1299yesterday at 9:00 PM2 repliesview on HN

Apologies. I meant branch. I nuked the branch. But set me back a lot of time as I thought it may be few things here and there.


Replies

esafaktoday at 5:45 PM

I see! That is annoying. A good reminder to push or fork the branch for backup.

formerly_proventoday at 6:33 PM

I always set gc.auto=0 for this reason, because it means the reflog will be there if I need it (unless I accidentally delete .git)