fatal: unable to access 'https://github.com/xxx': Connection timed out after 300040 millisec

Posted 天道酬勤

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了fatal: unable to access 'https://github.com/xxx': Connection timed out after 300040 millisec相关的知识,希望对你有一定的参考价值。

这是由于设置了代理,现在代理不可用了,可以运行下面的语句查看一下

$ git config --global http.proxy

会输出配置代理的信息

然后输入下面的语句重置一下就好了

$ git config --global --unset http.proxy

 

以上是关于fatal: unable to access 'https://github.com/xxx': Connection timed out after 300040 millisec的主要内容,如果未能解决你的问题,请参考以下文章