fatal: unable to access 'https://github.com/lilishop/lilishop.git/': Failed to connect to github.com port 443 after 21038 ms: Couldn't connect to server错误

原因是以前自己用过代理,清理之前的代理即可
git config --global --unset http.proxy
清理完后:

当遇到无法访问GitHub仓库,报错fatal:unabletoaccess...Failedtoconnecttogithub.comport443...时,可能是因为之前使用过代理。解决方法是清除git的全局http代理设置:gitconfig--global--unsethttp.proxy。执行此命令后,问题通常能得到解决。
fatal: unable to access 'https://github.com/lilishop/lilishop.git/': Failed to connect to github.com port 443 after 21038 ms: Couldn't connect to server错误

原因是以前自己用过代理,清理之前的代理即可
git config --global --unset http.proxy
清理完后:

11万+
2万+

被折叠的 条评论
为什么被折叠?
