Git

How do I delete a local repository in git?

Pinterest LinkedIn Tumblr
$ rm -rf .git

Or to delete .gitignore and .gitmodules if any (via @aragaer):

$ rm -rf .git*

Write A Comment