Clone with SSH URLs?
unity-emilk opened this issue · 1 comments
unity-emilk commented
Calling Clone with an SSH URL like:
repo, err := Clone("git@github.com:owner/repo.git", "/some/path", opts)
Returns an error from net/url like: parse \"git@github.com:owner/repo.git\": first path segment in URL cannot contain colon
.
Is calling Clone with an SSH URL not supported?
go1.17.6.linux-amd6
libgit2 version 1.3
git2go v33.0.6
unity-emilk commented
Cloning with a ssh remote like ssh://git@github.com/owner/repo.git
works.