参考地址: https://blog.csdn.net/weixin_45825313/article/details/125260111
在使用sourcetree 报错 Failed to connect to www.google.com port 80: Timed out
查看git http.proxy
在终端 输入命令行 git config --list 查看信息
git config --list
找到http.proxy代理
看图片中http.proxy=http://www.google.com:80
设置成谷歌的了。
解决:
在sourcetree 顶部 工具 -> 选项 -> 网络
把 向 Git / Mercurial 配置文件中添加代理服务器信息 前面的对勾去掉。
在输入git config --list查看http.proxy发现已经没有代理设置就解决了