git stupid-est thing ever

ok, the post title says something. I did one of the stupidest thing ever, few days back while in a hurry i initialized the git repo in my home dir.

the command to remove all the mess : rm -rf ~/.git

It will remove the git repo from your system. and then you have to recreate evreything from scratch.

Advertisements