git - Bitbucket:git push 错误:包对象死于信号 13

标签 git push bitbucket

我尝试将我的本地存储库推送到我在 Bitbucket 上的原始分支,但一直无法推送。错误显示如下。

Counting objects: 2309, done.
Delta compression using up to 4 threads.
Connection to bitbucket.org closed by remote host.
fatal: The remote end hung up unexpectedly
Compressing objects: 100% (2295/2295), done.
error: pack-objects died of signal 13
error: failed to push some refs to .... 

我已经试过了

git config http.postBuffer 5242880

结果显示同样的错误。我也尝试将我的设置从 https 更改为 ssh,但仍然出现相同的错误。

我猜可能是因为我将大文件推送到我的远程存储库。我已经一个月没有请求任何更新,只做了 pull requests 来更新我的本地 repo。

最佳答案

即使您已经提高了 http 缓冲区大小,这可能仍与您的存储库的一般大小有关。

This thread提及:

This repo is well in excess of our size limits. We don't store repositories of this size. We do not offer that as an option to any of our commercial plans, either. 1GiB/2GiB is a firm and inflexible limit for everyone.

As much as we want to offer larger repos, the performance of repos over 750MiB or so is too bad to tolerate. We hope you understand this limitation.

To check this I was asked to run:

git count-objects -Hv

(参见“Find size of git repo”)

这可以解释为什么在这种情况下切换到 ssh 不构成解决方法。

关于git - Bitbucket:git push 错误:包对象死于信号 13,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34562944/

相关文章:

bash - 自动 git clone 到唯一的目标目录

Git/Bower 错误 : Exit Code # 128 & Failed connect

jsf - 服务器如何将异步更改推送到由 JSF 创建的 HTML 页面?

version-control - 如何实现这个 Mercurial+BitBucket 工作流程?

git - 为什么我不能推送我的新分支?

git - Azure DevOps CI/CD 以及将连接字符串与源代码管理分离

iphone - 我们可以使用phonegap框架在iphone中进行推送通知吗?

android - 需要一个安卓推送框架

jenkins - 根据拉取请求从 Bitbucket 触发 Jenkins 作业

每个分支的 Bitbucket : is it possible to have one bitbucket-pipelines. yml 文件?