Failed to connect to github.com port 443: Timed out

转自:https://www.cnblogs.com/code1992/p/11220261.html

Git Clone下载仓库代码的时候,出现以下情况

Failed to connect to github.com port 443: Timed out

 

 

解决办法:

输入

git config --global http.proxy http://127.0.0.1:1080

git config --global https.proxy http://127.0.0.1:1080

 

再git clone,就能正常下载代码

 或在项目目录下git push提交代码

 

 删除刚刚的代理配置,恢复默认配置

git config --global --unset http.proxy


git config --global --unset https.proxy
posted @ 2022-04-25 02:28  黑魔术师与黑魔术少女  阅读(33)  评论(0)    收藏  举报
1 3 levels of contents