Skip to content

Instantly share code, notes, and snippets.

@doucetj
Forked from taoyuan/npm-using-https-for-git.sh
Created December 12, 2017 20:41
Show Gist options
  • Save doucetj/18e3bfef17e6fcb46aa25fcd0592ddbc to your computer and use it in GitHub Desktop.
Save doucetj/18e3bfef17e6fcb46aa25fcd0592ddbc 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