Skip to content

Commit

Permalink
Support ssh.github.com as a valid provider
Browse files Browse the repository at this point in the history
Fixes #38.
  • Loading branch information
muesli committed Feb 1, 2022
1 parent 917b628 commit 4762bb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions git.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,11 @@ func cleanupURL(arg string) (string, error) {
u.User = nil
u.Scheme = "https"

// support SSH connections to GitHub via port 443
if u.Host == "ssh.github.com" {
u.Host = "github.com"
}

return u.String(), nil
}

Expand Down

0 comments on commit 4762bb9

Please sign in to comment.