Skip to content

Instantly share code, notes, and snippets.

@dragon788
Created January 8, 2016 03:34
Show Gist options
  • Save dragon788/85be3c2865381214ff6b to your computer and use it in GitHub Desktop.
Save dragon788/85be3c2865381214ff6b to your computer and use it in GitHub Desktop.
Git port blocked proxy workaround
#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