远程端意外挂起并写入对象:0% (1/23640040)

问题描述 投票:0回答:1

我正在尝试远程推送,到目前为止一切正常,但它开始抛出错误

Compressing objects: 100% (3749063/3749063), done.
Writing objects:   0% (1/23640040)
Write failed: Broken pipe
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly

我也添加了以下配置,但没有运气。任何指点。为什么它在 0% 时失败。

我也添加了以下配置,但没有运气。

 git config --global core.compression 0
   git config --global core.packedGitLimit 512m
   git config --global core.packedGitWindowSize  512m
   git config --global ssh.postBuffer  52428800
   git config --global http.postBuffer  52428800
   git config --global pack.deltaCacheSize  2047m
   git config --global pack.packSizeLimit  2047m
   git config --global pack.windowMemory  2047m 
git
1个回答
0
投票

将 post 和 ssh 缓冲区大小增加到

git config --global http.postBuffer 157286400
git config --global ssh.postBuffer 157286400
© www.soinside.com 2019 - 2024. All rights reserved.