4 ms·
I've learned that personally one night fighting messed up rebase conflicts and for still unknown reason I copied and pasted a path for `rm` and ended up issuing
by dan_hawkins 7y ago
I've learned that personally one night fighting messed up rebase conflicts and for still unknown reason I copied and pasted a path for `rm` and ended up issuing `rm -rf ~ /repo-path /unneeeded-dir` - it took me a couple of seconds to realize that this command takes unexpected long time to execute and then my eye caught a view of Finder window with shrinking list of folders in home directory :) Time Machine helped me quite a lot but unfortunately with a nasty surprise that it doesn't backup dot files :-/ Lessons learned.
- mercer 7y ago> Time Machine helped me quite a lot but unfortunately with a nasty surprise that it doesn't backup dot files. Wow, that's good to know!
- dan_hawkins 7y agoPS: it turns out you can restore dot files from the Time Machine backups but it's not enabled by default: https://apple.stackexchange.com/questions/141321/how-to-restore-a-hidden-file-in-time-machine#141322 https://apple.stackexchange.com/questions/141321/how-to-rest...