vcs-python / vcspull

🔄 Synchronize projects via yaml/json manifest. Built using `libvcs`.
https://vcspull.git-pull.com/
MIT License
206 stars 13 forks source link

Support git+ssh://user@host:relative-path/repo.git syntax #49

Open mback2k opened 7 years ago

mback2k commented 7 years ago

It would be great if vcspull supported relative paths for git+ssh remotes by using the colon character as a separator between host and path.

tony commented 7 years ago

Can you give an example so I can be sure

Do you mean a relative file path?

mback2k commented 7 years ago

An example would be marc@myhostname.de:django/website.git where django is a folder within my home directory ~. This is already supported by the default Git client using SSH.

tony commented 1 year ago

This bit me with git@github.com:tmux-python/tmuxp.git

Scheme: user@domain.tld:org/repo.git

tony commented 1 year ago

@mback2k I know you have probably moved on, but the workaround is this:

Assuming marc@myhostname.de:django/website.git:

Prepend git+ssh://:

git+ssh://marc@myhostname.de:django/website.git