Git Pull/Push Error: Could not resolve proxy
- Check to see if your environment has already gain the HTTP and HTTPS proxies:
echo http_proxy
echo https_proxy
- If they do exist in your environment, run the following commands to reset them.
export http_proxy=""
export https_proxy=""
- If not, check to see if you have set
http.proxy
andhttps.proxy
inside your git environment:
git config --global -l
- If they were set inside your Git environment, run the following commands to remove them:
git config --global --unset-all http.proxy
git config --global --unset-all https.proxy
本文来自博客园,作者:艾孜尔江,转载请注明原文链接:https://www.cnblogs.com/ezhar/p/17867846.html