Hacker News new | ask | show | jobs
by ursus_bonum 3374 days ago
That's odd. gc shouldn't be collecting anything less than 2 weeks old by default.
1 comments

That's not exactly what happened, but the idea is the same. You can add a 2 week vacation in the meantime if it helps you imagine it.
I would recommend taking advantage of git's incredibly cheap branches and drop a lifesaving breadcrumb on all the commits I was planning to keep. One of the first steps I tell people when showing the rebase workflow is leaving behind a 'safe' marker, and how to reset back to it if the rebase gets too hairy.