I am trying to push to my repo but receiving an error:
fatal: unable to access 'https://github.com/myrepo.git/': Could not resolve proxy: --list
I already changed the proxy settings :
git config --global --unset http.proxy
my global config settings are:
push.default=simple http.sslverify=false url.https://.insteadof=git:// credential.helper=cache --timeout=3600
But still getting this error? How can I solve this?
To remove a proxy server by using the Netsh.exe toolClick Start, click Run, type cmd, and then click OK. At the command prompt, type netsh winhttp reset proxy, and then press ENTER.
Setting the proxy for Gitgit config --global --add http. proxy http://USERNAME:PASSWORD@PROXY_ADDRESS:PROXY_PORT. git config --global --add https. proxy http://USERNAME:PASSWORD@PROXY_ADDRESS:PROXY_PORT.
You can do same in Windows. Add an environment variable 'no_proxy' with value of URLS_to_Ignore. Don't forget to start a new CMD shell. Or to get working in current CMD just set no_proxy=URLS_to_Ignore .
Check your enviroment:
echo $http_proxy echo $https_proxy echo $HTTPS_PROXY echo $HTTP_PROXY
and delete with export http_proxy=
Or check https and http proxy
git config --global --unset https.proxy git config --global --unset http.proxy
Or do you have the proxy in the local config?
git config --unset http.proxy git config --unset https.proxy
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With