Following is the general syntax of the commands that will set the http and https proxy servers for git:
For example, if I want to set the http and https proxy servers to 192.168.10.10:3128, then I would use the following command (assuming my proxy server requires no authentication):
git config --global http.proxy http://proxyuser:proxypassword@proxyserver:proxyport
git config --global https.proxy http://proxyuser:proxypassword@proxyserver:proxyport
For example, if I want to set the http and https proxy servers to 192.168.10.10:3128, then I would use the following command (assuming my proxy server requires no authentication):
git config --global http.proxy http://192.168.10.10:3128 git config --global https.proxy http://
192.168.10.10:3128
No comments:
Post a Comment