-
-
Save gnthibault/ad91bce907d6673a23b94e9b0acc70cc to your computer and use it in GitHub Desktop.
Force git to use https:// instead of git://
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
# npm using https for git | |
git config --global url."https://github.com/".insteadOf git@github.com: | |
git config --global url."https://".insteadOf git:// | |
# npm using git for https | |
git config --global url."git@github.com:".insteadOf https://github.com/ | |
git config --global url."git://".insteadOf https:// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment