Skip to content

Instantly share code, notes, and snippets.

@troy0820
Created February 29, 2016 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save troy0820/9d0035d9227aae0a348b to your computer and use it in GitHub Desktop.
Save troy0820/9d0035d9227aae0a348b to your computer and use it in GitHub Desktop.
# Use https instead of git and git+ssh
[url "https://github.com/"]
insteadOf = git://github.com/
[url "https://github.com/"]
insteadOf = git@github.com:
# Use git and git+ssh instead of https
[url "git://github.com/"]
insteadOf = https://github.com/
[url "git@github.com:"]
pushInsteadOf = "git://github.com/"
[url "git@github.com:"]
pushInsteadOf = "https://github.com/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment