Git Pull/Push Error: Could not resolve proxy

发布时间 2023-11-30 17:24:08作者: 艾孜尔江
  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