git2go
git2go copied to clipboard
Clone with SSH URLs?
Calling Clone with an SSH URL like:
repo, err := Clone("[email protected]:owner/repo.git", "/some/path", opts)
Returns an error from net/url like: parse \"[email protected]: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://[email protected]/owner/repo.git works.