I have created a repository called foo
on a server using Gitolite. Now I am unable find out how to completely remove the repository from the server.
It says in the official documentation that you have to
log on to the server and do the dirty deed yourself :-)
But how do I find the repository on the server? Where are the files located?
How can I prevent the files being added automatically back to foo
when I try and remove it from gitolite.conf
and add it back again?
The default location for the repositories created by gitolite is ~/repositories
. You can also try to search for your specific repository using:
locate <repository>
When you have located the repository you like to remove you need to remove it from the server which can be done by executing:
rm -r <repository>
You also need to remove the appropriate lines from your gitolite.conf
.