或者

 解决方案

可以使用全局代理或者部分代理来解决这个问题。

git config --global https.proxy [http://127.0.0.1:1080](http://127.0.0.1:1080/)

git config --global https.proxy [https://127.0.0.1:1080](https://127.0.0.1:1080/)

取消代理

git config --global --unset http.proxy

git config --global --unset https.proxy

 两个取其一就好,本人使用的http,亲测有用

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐