Back
How do I get git to use a proxy server?
I need to check out code from a git server, it shows "Request timed out" every time. How do I get around this?
Alternatively, how can I set a proxy server?
To resolve this use the following command
git config --global http.proxy http://<proxyuser>:<proxypwd>@<proxy.server.com>:8080
If you decide to reset this proxy and work without proxy use this commands
git config --global --unset http.proxy
Finally, to check the currently set proxy:
git config --global --get http.proxy
31k questions
32.8k answers
501 comments
693 users