Skip to content

Instantly share code, notes, and snippets.

@dragonken
Last active November 4, 2018 22:09
Show Gist options
  • Save dragonken/ac9d3e95196ad5d2c5d7505814ea8067 to your computer and use it in GitHub Desktop.
Save dragonken/ac9d3e95196ad5d2c5d7505814ea8067 to your computer and use it in GitHub Desktop.
Git provides URL rewriting functionality using the url..insteadOf configuration option. So to make all connections to github.com use https:// rather than git://
git config --global url."https://github.com".insteadOf git://github.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment