fatal: unable to access 'https://github.com/xxxxx/xxxx.git/': Failed to connect to github.com port 443: Timed out

今天使用git push的时候提示"fatal: unable to access 'https://github.com/xxxxx/xxxx.git/': Failed to connect to github.com port 443: Timed out"

然后我输入了下面的这些命令:

  git config --global http.proxy 

查询到当前设置了代理,所以我取消这个设置:

  git config --global --unset http.proxy 

再查询,已经没有了代理,然后再push,成功了!

然后就可以继续push了。

posted @ 2019-08-12 19:29  Irelia9102  阅读(6530)  评论(0编辑  收藏  举报