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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s