Hacker News new | ask | show | jobs
by globular-toast 261 days ago
No need to make a "backup" branch. Learn to trust the reflog.
2 comments

That is like learn to trust the indestructibility of matter. I can still lose (not able to locate...) my keys even though they still exist!
reflog doesn't keep things through gc.

the only thing that does keep a git object is having a ref that (directly or transitively) points to it