Open unity-emilk opened 2 years ago
Calling Clone with an SSH URL like: repo, err := Clone("git@github.com:owner/repo.git", "/some/path", opts)
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.
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
Cloning with a ssh remote like ssh://git@github.com/owner/repo.git works.
ssh://git@github.com/owner/repo.git
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