git refuses to connect without proxy -


i work on linux system in windows environment. authenticate nt proxy server had setup cntlm , configured system programs use via setting http_proxy environment variable in /etc/environment file.

now want remove proxy setting , have programs connect directly.

so unset system environment variables:

unset http_proxy unset http_proxy 

check ~/.gitconfig ensure there no proxy entries.

explicitly instruct git not use proxies:

git config --global --unset http.proxy git config --global --unset https.proxy 

verify no proxy configured:

git config --system --get https.proxy  git config --global --get https.proxy  git config --system --get http.proxy  git config --global --get http.proxy  

and push remote repo:

git push 

but git still tries connect via proxy:

fatal: unable access 'https://xxx@bitbucket.org/xxx.git/': failed connect 127.0.0.1 port 3128: connection refused

why won't let go off cntlm?

the easiest check is:

env|grep -i proxy 

the op confirms:

i thought had removed proxy unset http_proxy.
there different environment variable https needs unset separately. running env|grep -i proxy revealed that.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -