使用sourcetree推送仓库时 Failed to connect to www.google.com port 80: Timed out

报错信息如下

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
fatal: unable to access 'http://XXX.XXX.XX.XXX:XXXX1/r/XXXX_web.git/': Failed to connect to www.google.com port 80: Timed out
Pushing to http://[email protected]:XXXXX/r/XXXX_web.git
完成时带有错误,见上文。

解决方法:
sourcetree 顶部 工具 -> 选项 -> 网络
把 向 Git / Mercurial 配置文件中添加代理服务器信息 前面的对勾去掉。

猜你喜欢

转载自blog.csdn.net/zhufan2333/article/details/125995689
今日推荐