解决“error: RPC failed; HTTP 400 curl 56 Recv failure: Connection was reset”
异常问题
git.exe push --progress "origin" main:main
Enumerating objects: 2669, done.
Counting objects: 100% (2669/2669), done.
Delta compression using up to 8 threads
Compressing objects: 100% (2228/2228), done.
error: RPC failed; HTTP 400 curl 55 Send failure: Connection was reset
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (2668/2668), 38.62 MiB | 9.22 MiB/s, done.
Total 2668 (delta 407), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date
git 未能顺利结束 (退出码 1) (7750 ms @ 2023/5/28 16:44:46)
解决问题
git config --global http.postBuffer 524288000
重新推送就可以了
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 Eternal Night
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果