解决方式:

#取消http代理
git config --global --unset http.proxy
#取消https代理
git config --global --unset https.proxy

ko .

 

补充:》》》》》》》》》》》》》》》》》》》 

 

为git设置http代理, https代理

#http代理
git config --global http.proxy 'socks5://127.0.0.1:1080'
#https代理
git config --global https.proxy 'socks5://127.0.0.1:1080'

 

执行git config -l查看代理

取消http代理, 取消https代理

#取消http代理
git config --global --unset http.proxy
#取消https代理
git config --global --unset https.proxy

 



posted on 2021-07-08 18:19  lshan  阅读(1548)  评论(0编辑  收藏  举报