需要在命令窗口给git配置代理示例如下
//http 代理(按你实际端口改)
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890
// 取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
| 文章 | 分类 | 评论 |
|---|---|---|
| 24 | 5 | 0 |
需要在命令窗口给git配置代理示例如下
//http 代理(按你实际端口改)
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890
// 取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
评论(0)