解决方式:

#取消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

 



相关文章:

  • 2022-12-23
  • 2021-11-02
  • 2021-10-28
  • 2022-12-23
  • 2021-08-29
  • 2021-08-18
  • 2021-06-01
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
  • 2021-05-30
  • 2022-01-19
相关资源
相似解决方案