Git Pull/Push Error: Could not resolve proxy

  1. Check to see if your environment has already gain the HTTP and HTTPS proxies:
echo http_proxy
echo https_proxy
  1. If they do exist in your environment, run the following commands to reset them.
export http_proxy=""
export https_proxy=""
  1. If not, check to see if you have set http.proxy and https.proxy inside your git environment:
git config --global -l
  1. 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
posted @ 2023-11-30 17:20  艾孜尔江  阅读(77)  评论(0编辑  收藏  举报