The Team demanded (or asked nicely) for a graphical overview of all the git repositories, so here is the quick way to do it:
-
Install gitweb
sudo apt-get install gitweb
-
Make an empty directory that is the root of all the repositories e.g. pub. This is necessary since git has no concept of a root repository holding others
mkdir pub/
-
Change owner to the user who owns the repositories
sudo chown -R git:git pub
-
Now we link the repositories into pub/ (Move to pub/ and do)
ln -s /path/repo1.git rep1 ln -s /path/repo2.git rep2
-
Now we open /etc/gitweb.conf and edit the variable to pub/
$projectroot = "/path/pub"
Now http://server/gitweb should show the list of repos. If not you probably have to edit $projectroot in /usr/share/gitweb/gitweb.cgi too.