Skip to content

Instantly share code, notes, and snippets.

@dcyou
Forked from taoyuan/npm-using-https-for-git.sh
Created October 11, 2017 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcyou/66a1b303755047738596e745f90d6182 to your computer and use it in GitHub Desktop.
Save dcyou/66a1b303755047738596e745f90d6182 to your computer and use it in GitHub Desktop.
Force git to use https:// instead of git://
git config --global url."https://github.com/".insteadOf git@github.com:
git config --global url."https://".insteadOf git://
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment