pip install from a gitosis

前端 未结 2 381
无人共我
无人共我 2021-01-02 18:20

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:

相关标签:
2条回答
  • 2021-01-02 19:11

    To install, you should only have to run:

    pip install git+git://host/path_to_repo/repo.git
    

    So for your example:

    pip install git+git://server/path_to_repo/repo.git
    
    0 讨论(0)
  • 2021-01-02 19:13

    I would rather use the ssh uri syntax (rather than the SCP syntax)

    git clone git+ssh://git@server/repo.git
    
    0 讨论(0)
提交回复
热议问题