解决 Push failed: unable to access 'https://github.com/xxx.git/': Empty reply from server

在push项目时遇到问题:Push failed
unable to access 'https://github.com/YUU-HANG/Payment.git/': Empty reply from server

原因:在 VPN 之外使用需要使用 unset 命令:

git config --global --unset http.proxy

运行指令后成功push到Github远程库:

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

posted @ 2022-11-21 10:59  UpZhou  阅读(1501)  评论(0编辑  收藏  举报