Setting Up Proxy for Git
git config --global http.proxy http://user:password@proxyserver:proxyport
Replace:
-
user: your proxy username -
password: your proxy password -
proxyserver: the proxy server URL -
proxyport: the port number on the proxy server
To stop using the proxy:
git config --global --unset http.proxy
Enjoy Reading This Article?
Here are some more articles you might like to read next: