Skip to content

Instantly share code, notes, and snippets.

@supun19
Forked from taoyuan/npm-using-https-for-git.sh
Created October 1, 2018 08:27
Show Gist options
  • Save supun19/44007f2cb34e0c9d3a6d6eb2b37d1082 to your computer and use it in GitHub Desktop.
Save supun19/44007f2cb34e0c9d3a6d6eb2b37d1082 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