I have working gitosis repo. If I do
git clone git@server:repo.git
it clones the repo correctly. However, it does not work if I do:
git clone ssh://git@server:repo.git
Cloning into repo...
ssh: connect to host port 22: Connection refused
fatal: The remote end hung up unexpectedly
The problem is that when I use pip
I I do:
pip install git+ssh://git@server:repo.git
and of course yields:
Cloning into repo...
ssh: connect to host port 22: Connection refused
fatal: The remote end hung up unexpectedly
If I want to do:
pip install git+git@server:repo.git
I get
ValueError: ('Expected version spec in', 'git+git@server:repo.git', 'at', '+git@server:repo.git')
Is there a way to have pip or gitosis configured so I can make it work?
Thanks,
(please avoid 'use gitolite', I would if I could)
server
there is a/
rather than a:
. This is what I needed to change from my usual syntax in order to get pip to work correctly. – Vladivostok