Clone with SSH URLs? #885
Labels
No Label
bug
duplicate
enhancement
invalid
question
up for grabs
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: jcarr/git2go#885
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Cloning with a ssh remote like
ssh://git@github.com/owner/repo.git
works.