VSCode git bash设置代理之后仍然无法访问
发现
git config --global --unset-all http.proxy
git config --global --unset-all https.proxy
git config --global http.proxy "http://127.0.0.1:XXXXX"
git config --global https.proxy "https://127.0.0.1:XXXXX"
没有起作用
原来在VSCode的终端当中git 好像采用的不是全局的配置
解决方法
直接进入VSCode Terminal当中
git config --edit
[http]
proxy = http://127.0.0.1:XXXX
[https]
proxy = http://127.0.0.1:XXXX
本博文本意在于记录个人的思考与经验,部分博文采用英语写作,可能影响可读性,请见谅
本文来自博客园,作者:ZXYFrank,转载请注明原文链接:https://www.cnblogs.com/zxyfrank/p/16483723.html