【解决报错】Failed to connect to github.com port 443 after 21130 ms: Timed out

问题描述

github代码下载或拉取,出现超时报错: Failed to connect to github.com port 443 after 21097 ms: Timed out
在这里插入图片描述

原因分析:

网络问题

解决方案:

先把子切换到全局,然后再取消,接着取消全局代理,最后git pull或者git push

设置代理

git config --global https.proxy

取消代理

git config --global --unset https.proxy```

![在这里插入图片描述](https://img-blog.csdnimg.cn/32c69532b84a42a7a94309df1e1578e4.png#pic_center)
成功提交!!!
![在这里插入图片描述](https://img-blog.csdnimg.cn/1b0b4437d67947a98ca1889576f30072.png#pic_center)

猜你喜欢

转载自blog.csdn.net/wahahaha116/article/details/128704990