Hacker News new | ask | show | jobs
by awaisraad 1432 days ago
a colleague accidentally force pushed a stale branch to master and a weeks worth of work was potentially lost. That day git reflog helped and saved our jobs as we were contractors for a big Germany based client.
2 comments

Always disable force pushes to trunk (if that feature is available, as it is on Github).
I hope you(they) are backing up their source code as well, which would have helped you if reflog did not.