git拉取github失败,Failed to connect to github.com port 443: Timed out

git拉取github失败,Failed to connect to github.com port 443: Timed out

 

git 拉取github代码失败,提示 Failed to connect to github.com port 443: Timed out,取消设置git代理。

设置代理
git config --global https.proxy [http://127.0.0.1:1080](http://127.0.0.1:1080/)

git config --global https.proxy [https://127.0.0.1:1080](https://127.0.0.1:1080/)
取消代理
git config --global --unset http.proxy

git config --global --unset https.proxy

 

posted @ 2022-03-31 15:50  CNF油条  阅读(224)  评论(0)    收藏  举报