I cant find the command, tried google: git "delete a repository" Thanks
+12
A:
If you want to delete everything (git-data, code, etc), just delete the whole directory.
If you only want to delete the git-related information (branches, versions), delete the .git
directory in the root-directory of your repository.
HTH, flokra
flokra
2009-10-03 15:39:17
+5
A:
In the repository directory you remove the directory named .git and that's all :). On Un*x it is hidden, so you might not see it from file browser, but
cd repository-path/
rm -r .git
should do the trick.
rkj
2009-10-03 15:39:51