1.没用代理的话用这个:
 

git config --global --unset http.proxy 
git config --global --unset https.proxy

2.用了代理的话,用这个,代理端口自己找一下

git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐