How to clone repositories from server port 9418?

Viewed 134

I have a server with git running on port 9418.

Is it possible to list or clone all git repositories from that server?

It is supposed to be working, but for certain repo-name:

git clone git://ip/repo-name
1 Answers

The Git protocol does not include listing repositories.

And it does not include authentication, which is why you won't find it in a corporate environment (where the port 9418 is closed off anyway)

Otherwise, provided your git daemon is running on the server, an URL like git://<ip>:9418/repo should work.

Example (from 2011, unlikely to work in 2021):

git clone git://metaf2xml.git.sourceforge.net/gitroot/metaf2xml/metaf2xml

2021:

git clone git://git.code.sf.net/p/metaf2xml/code.git
Related