Loading

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
posted @ 2022-07-16 11:16  ZXYFrank  阅读(356)  评论(0编辑  收藏  举报