How to access github behind a corporate proxy

If you receive an error when attempting to use git:// github addresses behind your corporate proxy, try adding these to config:

git config --global url. git://


git config --global http. http://yourproxy:8080

(but you will need to know the name/port of your proxy)

Those settings adds this to ~/.gitconfig

[url ""]
    insteadof = git://
[http ""]
    proxy = http://yourproxy:8080

results matching ""

    No results matching ""