我有工作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