赞
踩
$ git config --global http.proxy
$ git config --global --unset http.proxy
参考:https://stackoverflow.com/questions/30828237/git-refuses-to-connect-without-proxy
I work on a Linux system in a Windows environment. To authenticate with a NT proxy server I had setup cntlm
and configured system programs to use it via setting http_proxy
environment variable in the /etc/environment
file.
Now I want to remove this proxy setting and have the programs connect directly.
So I unset the system environment variables:
unset http_proxy
unset HTTP_PROXY
Check ~/.gitconfig
to ensure that there are no proxy entries.
Explicitly instruct git
not to use any proxies:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。