Created
January 8, 2016 03:34
-
-
Save dragon788/85be3c2865381214ff6b to your computer and use it in GitHub Desktop.
Git port blocked proxy workaround
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Global if you never have direct access to github | |
git config --global url.https://github.com/.insteadOf git://github.com/ | |
#Repository specific if you only have certain repos you need to push/pull via git:// behind the proxy | |
git config 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