tags:

views:

209

answers:

2

Assuming that I know there is a git-daemon running at git://git.mycompany.com, how can I list all repositories served by that specific instance?


Update: I don't have shell access to git.mycompany.com.

+1  A: 

As far as I can tell, this needs to be done on the machine that is running git-daemon. You either need to check the arguments where git-daemon was invoked, or possibly check /etc/inetd.conf

docgnome
Thanks, but I don't have shell access to that machine.
Robert Munteanu
Dang! Not sure there is a way to do that then...
docgnome
+2  A: 

There is one other way but it needs some assistance of you companies server admins. Git features a browsable web frontend called 'GitWeb' which can be configured to show all projects served by git.

Details are explained in the GitWeb README - the config key of interest is called "GITWEB_PROJECTROOT":

GITWEB_PROJECTROOT The root directory for all projects shown by gitweb. Must be set correctly for gitweb to find repositories to display. See also "Gitweb repositories" in the INSTALL file for gitweb.

Maybe you could have a talk with you admins - gitweb can be a great profit for all developers.

Shirkrin