3 ms·
Personally, I started using git for my projects after I accidentally deleted a good chunk of source code and my closest backup was several weeks old.
by burnt_toast 5y ago
Personally, I started using git for my projects after I accidentally deleted a good chunk of source code and my closest backup was several weeks old.
- GordonS 5y agoThe exact same thing happened to me, and I kicked myself hard for it. At the time I used source control at work (TFS and SVN; git wasn't yet ubiquitous), so I didn't really have an excuse. I've used source control for all personal projects since, and it's in no way a burden. In fact, there have been another couple of instances since the first, where I would have lost a bunch of work without it.
- ornornor 5y agoHow? It’s very hard to completely lose code in git. Did you know about the reflog?