1.打开vscode设置
2.选中扩展项,点击编辑配置json文件
3.在配置中末尾加上这两句
"http.proxy": "http://xxx.xxx.xxx.xxx:8080",
"http.proxyStrictSSL": false
4.打开命令终端,在根目录给项目设置git代理
git config http.sslVerify false
git config http.proxy http://xxx.xxx.xxx.xxx:8080
1.打开vscode设置
2.选中扩展项,点击编辑配置json文件
3.在配置中末尾加上这两句
"http.proxy": "http://xxx.xxx.xxx.xxx:8080",
"http.proxyStrictSSL": false
4.打开命令终端,在根目录给项目设置git代理
git config http.sslVerify false
git config http.proxy http://xxx.xxx.xxx.xxx:8080