Skip to contentSkip to conversation

git daemon on different port

DISCUSSION Stefan Näwe 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi all.

git daemon --port=12345....

would set the git daemon to listen on port number 12345, right?

Question: What would be the clone URL then ?

Thanks

Stefan

#1 lore raw

Hi,

Quoted 5 lines · Stefan Näwe

git daemon --port=12345....

would set the git daemon to listen on port number 12345, right?

Question: What would be the clone URL then ?

git://example.com:12345/repository.git

Ciao,
Dscho

#2 lore raw
In reply to Stefan Näwe
Quoted 8 lines · Stefan Näwe <stefan.naewe+git <at> gmail.com> writes:

Hi all.

git daemon --port=12345....

would set the git daemon to listen on port number 12345, right?

Question: What would be the clone URL then ?

It would of course be

git clone git://hostname:12345/path/to/repo.git

Who would have guessed that...

Thanks to anyone who helped ;-)

Stefan