我有工作gitosis回购。如果我做从gitosis pip安装
git clone [email protected]:repo.git
它正确地克隆回购。但是,这是行不通的,如果我做的:
git clone ssh://[email protected]:repo.git
Cloning into repo...
ssh: connect to host port 22: Connection refused
fatal: The remote end hung up unexpectedly
的问题是,当我使用pip
II做:
pip install git+ssh://[email protected]:repo.git
的,当然收益率:
Cloning into repo...
ssh: connect to host port 22: Connection refused
fatal: The remote end hung up unexpectedly
如果我想要做:
pip install [email protected]:repo.git
我得到
ValueError: ('Expected version spec in', '[email protected]:repo.git', 'at', '[email protected]:repo.git')
有没有办法有点子或Gitosis的配置,所以我可以使它工作吗?
感谢,
(请避免 '使用gitolite',我想如果我可以)
对于任何人在看这个和思考“这就是我做的!”,请注意,在'server'后有'/'而不是':'。这是我需要改变我平常的语法,以便让点子正常工作。 – 2013-05-02 23:16:22