Skip to content

Instantly share code, notes, and snippets.

@parthitce
Forked from taoyuan/npm-using-https-for-git.sh
Created October 3, 2018 15:28
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 parthitce/a9a52b815d3757b02dc58eb5b09211a6 to your computer and use it in GitHub Desktop.
Save parthitce/a9a52b815d3757b02dc58eb5b09211a6 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