Skip to content

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

@mback2k

Description

@mback2k

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.

Activity

tony

tony commented on Dec 28, 2016

@tony
Member

Can you give an example so I can be sure

Do you mean a relative file path?

mback2k

mback2k commented on Dec 31, 2016

@mback2k
Author

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

tony commented on Aug 20, 2023

@tony
Member

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

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

added a commit that references this issue on Oct 22, 2023
tony

tony commented on Oct 22, 2023

@tony
Member

@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @tony@mback2k

      Issue actions

        Support git+ssh://user@host:relative-path/repo.git syntax · Issue #49 · vcs-python/vcspull