Skip to content

Instantly share code, notes, and snippets.

@killmenot
Forked from taoyuan/npm-using-https-for-git.sh
Created February 20, 2020 10:34
Show Gist options
  • Save killmenot/0ae46158584b85e11a20f5c0aae9fccd to your computer and use it in GitHub Desktop.
Save killmenot/0ae46158584b85e11a20f5c0aae9fccd 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