git2go icon indicating copy to clipboard operation
git2go copied to clipboard

Clone with SSH URLs?

Open unity-emilk opened this issue 3 years ago • 1 comments

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

unity-emilk avatar Jan 19 '22 08:01 unity-emilk

Cloning with a ssh remote like ssh://[email protected]/owner/repo.git works.

unity-emilk avatar Jan 20 '22 08:01 unity-emilk