7
I accidentally deleted my entire project 30 minutes before a deadline and somehow recovered it
I was refactoring some messy code at 2am in my dorm room, ran 'rm -rf' on the wrong folder, and spent 25 panicked minutes digging through my IDE's local history to get it all back - has anyone else had a close call with a dumb command that worked out in the end?
3 comments
Log in to join the discussion
Log In3 Comments
martinez.paul19d ago
Man I used to think backing up stuff was overkill and that git was just extra complexity for small projects. But after a similar screw up where I nuked a week of work with a bad regex in a sed command, I completely changed my mind. Now I commit everything like a paranoid maniac and stash copies of my working directory before any big cleanup. That IDE local history saved me too, its honestly a lifesaver when your brain is fried at 2am.
3
the_riley19d ago
Regex in sed is playing with fire honestly.
6