Git处理Failed to connect to www.google.com port 80: Timed out

输入提交代码命令:git push -u origin master
报错:fatal: unable to access 'https://gitee.com/solitudeYu/gerenzhuye.git/': Failed to connect to www.google.com port 80: Timed out

处理方式

查询到当前设置的代理
git config --global --unset http.proxy
关闭代理
git config --global --unset http.proxy
提交成功
git push -u origin master

 


作者:solitudeYu
链接:https://www.jianshu.com/p/27b4f2be5eb9
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
原文地址:https://www.cnblogs.com/wsj1/p/14822358.html