Re:Some bad Git situations and how I got myself out of them
by abarrak on Friday September 09, 2016 @04:00AM
(#12460346)
It's probably a good time to check if you have some safety against `rm -fr `.
Two days ago, I wanted to delete .git only, but accidentally as my fingers were accustomed with -fr , the command was `rm -fr * .git`. Rails server was running and some hope arose at the moment to just `lsof | grep` .. unfortunately that didn't work with me !
Ironically, all dot files have stuck as obvious :)
Two days ago, I wanted to delete .git only, but accidentally as my fingers were accustomed with -fr , the command was `rm -fr * .git`. Rails server was running and some hope arose at the moment to just `lsof | grep` .. unfortunately that didn't work with me !
Ironically, all dot files have stuck as obvious :)