【已解決】git push 問題 "send-pack: unexpected disconnect while reading sideband packet"
Git報錯
git push推送代碼時出現如下報錯
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly

解決
使用命令git config --global http.postBuffer 1048576000將 Git 通信緩沖區大小設置為1G
其他
- 如調整通信緩沖區未能解決問題。可使用下方命令打印詳細信息分析和搜索解決方案。
GIT_TRACE=1 GIT_CURL_VERBOSE=1

浙公網安備 33010602011771號