应用笔记 / 经验分享 · 2026年5月6日

git 推送时提示:send-pack: unexpected disconnect while reading sideband packet fatal: the remote end hung up unexpec

搜索各种办法无效,我的场景:

提交了一个48M大小的更改,无法push

使用
git config –global http.postBuffer 524288000

设置超时时间后再push,问题解决。