Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git: prefer git+https over git+ssh for hosted repo
This uses the faster and more headless-friendly git+https url when fetching git remotes on hosted repos, falling back to ssh when https fails. Using ssh is better for private repos that require authorization, but for public repos, https is faster and does not require user interaction to authorize the use of an SSH key (which may require a passphrase or 2FA). Resolved url is still reported as the git+ssh url, for consistency. Fix: #20
- Loading branch information
Showing
2 changed files
with
149 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters