系统未开启代理,但VSCode/git 代理端口无法连接 git error


可以看到,VSCode将会继承http_proxy以及https_proxy这一对环境变量

在bash或者powershell当中设置

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

即可