如果本地有 http 和 socks5 代理,命令行启动的。其他软件指定走代理,有效,但 git 配置代理仍然无效,命令行客户端也不打印日志,很奇怪
但如果用火箭这种图形界面的客户端启动代理,git 就成功走代理了
目前试过下面的配置均无效
git config --global http.proxy 'http://127.0.0.1:1087'
git config --global https.proxy 'http://127.0.0.1:1087'
git config --global http.proxy socks5h://127.0.0.1:1080
git config --global https.proxy socks5h://127.0.0.1:1080
git config --global http.proxy socks5://127.0.0.1:1080
git config --global https.proxy socks5://127.0.0.1:1080
暂时通过改 hosts 或者图形界面客户端可以解决,但不明白为什么无效