Contact me:

解决Git fatal: unable to access 'xxx.git/': Failed to connect to github.com port 443 after ***ms: Timed out

改代理

看自己代理软件的端口

比如

设置

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

成了

如果想取消

取消全局代理:

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

常用

git config --global http.proxy #查看git的http代理配置
git config --global https.proxy #查看git的https代理配置
git config --global -l #查看git的所有配置

posted @ 2021-12-01 15:54  impwa  阅读(1912)  评论(0编辑  收藏  举报