git 推送报 fatal: unable to access 'http://git.c521h.................../': Empty reply from server

1.如果您为 VPN 配置了代理,则需要登录到您的 VPN 才能使用代理。

2.要在 VPN 之外使用它,请使用 unset 命令:

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

参考: https://stackoverflow.com/questions/27087483/how-to-resolve-git-pull-fatal-unable-to-access-https-github-com-empty

posted @ 2023-01-18 10:02  龙卷风吹毁停车场  阅读(576)  评论(0)    收藏  举报