今天拉代码时报错,经多方查证是由于代理导致的,但是网上很多解决方案都没有搞定这个问题。

后来采用一个方法解决了,特此记录:

通过命令查git设置列表:
git config --global --list

发现所在问题:
Mac Could not connect to 127.0.0.1:8081
继续搜索:
http.https://github.com.proxy=socks5????/127.0.0.1:1080

取消代理:
git config --global --unset http.https://github.com.proxy


查看git设置列表:
git config --global --list
取消代理:
git config --global --unset http.https://github.com.proxy

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案