Skip to content

Instantly share code, notes, and snippets.

@dragonken
Forked from taoyuan/npm-using-https-for-git.sh
Created November 17, 2018 08:47
Show Gist options
  • Save dragonken/cecc7dcd9335be715c2feeade9ab644e to your computer and use it in GitHub Desktop.
Save dragonken/cecc7dcd9335be715c2feeade9ab644e 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 [email protected]:
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