To set Proxy into git, do this step
- Open git console
- Type this
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080
Where:
- proxyuser is username for proxy
- proxypwd is proxy password for the username
- proxy.server.com is address of the proxy. It can be IP address.
- 8080 is proxy port. You can change it based on your proxy configuration
If you don't use username and password, you just need to use this format:
git config --global http.proxy http://proxy.server.com:8080
git config --global https.proxy https://proxy.server.com:8080
If you want to unset proxy, just do this:
git config --global --unset http.proxy
git config --global --unset https.proxy
0 comments:
:)) :)] ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* : 8-} ~x( :-t b-( :-L x( =))
Post a Comment