Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Listing all repositories served by git-daemon

Tags:

git

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.

like image 935
Robert Munteanu Avatar asked Jun 22 '09 21:06

Robert Munteanu


1 Answers

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.

like image 151
Shirkrin Avatar answered Oct 26 '22 07:10

Shirkrin