解决Github port443:Timed out

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

修改 Git 的网络设置

注意修改成自己的代理的IP和端口号

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

取消代理是因为,访问 Gitee 或其它是不需要梯子,所以要取消代理;或者后悔设置代理了,也可以利用此取消

取消代理

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

查看代理

git config --global --get http.proxy
git config --global --get https.proxy

posted @ 2024-01-15 13:51  起床睡觉  阅读(22)  评论(0编辑  收藏  举报