pip install from a gitosis

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:

  • What does it mean when Git diff shows mode changes?
  • Missing register.json after clean install of gitlab ci
  • Can I ignore directories from within submodule before submodule update?
  • Why does merging these branches do nothing?
  • Can I open a file in a branch different from the active?
  • Maven-Release-Plugin: Force to use specific version of scm provider
  • 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)

  • how to manage 2 version of a single app for different regions and languages?
  • git add, commit and push commands in one?
  • Removing a file that looks like “\357\275\236”
  • How to start a github repository with a few versions that are in zip files
  • Trying to enable Github post commit hook with jenkins
  • Unable to connect to Gitlab Container on Custom Port via SSH
  • 2 Solutions collect form web for “pip install from a gitosis”

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

    git clone git+ssh://git@server/repo.git
    

    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
    
    Git Baby is a git and github fan, let's start git clone.