混帐错误 - 无法推送一些裁判(包装对象死亡与奇怪的错误) [英] git error - failed to push some refs (pack-objects died with strange error)

查看:70
本文介绍了混帐错误 - 无法推送一些裁判(包装对象死亡与奇怪的错误)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试推送到新的远程存储库时,出现奇怪的错误。我是一个git新手,但是按照一些教程,我可以在远程服务器上安装一些测试存储库并推送给他们。但是我想推出的主要存储库给我带来了麻烦。这是我做的。

I'm getting an odd error when I try to push to a new remote repository. I'm a git newbie, but following some tutorials, I was able to setup a few test repositories on a remote server and push to them. But the main repository I want to push up is giving me trouble. Here's what I did.

在远程服务器上,我创建了一个新目录。然后我在该目录中初始化一个裸露的git存储库。在我的机器上,我添加了遥控器,然后我推送到远程站点。它看起来像是在工作,但一段时间后,我回来,发现这个错误。

On the remote server I created a new directory. I then initialized a bare git repository inside that directory. On my machine I added the remote, and then I pushed to remote site. It looked like it was working, but after a little while I came back and found this error.


Counting objects: 4364, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4240/4240), done.
error: pack-objects died with strange error | 44 KiB/s   
error: failed to push some refs to 'mysite:main_site_repo'

什么可能是错误的?在这个存储库中,我确实有几个媒体文件(每个大约40MB)。他们会成为一个问题吗?我没有收到任何超时错误,但是我确实看到它在失败之前通过大约44MB。有没有办法让git吐出调试信息?

What could be wrong? In this repository, I do have a few media files (about 40MB each). Could they be a problem? I don't get any timeout errors, but I do see that it makes it through about 44MB before failing. Is there a way to have git spit out debug info?

另外我不小心让这个仓库脱离了主分支,并且在没有任何分支的情况下做了一些提交。我把所有东西都合并到了主分支中,现在我又在那里工作了,但是这可能是问题的根源吗?

Also I accidentally let this repository fall off the main branch and made a few commits while not on any branch. I merged everything back into the main branch and am now working from there again, but could this be the source of the problem?

我的计算机上的git版本:1.6.4.4
服务器上的git版本:1.6.2.3

git version on my computer: 1.6.4.4 git version on server: 1.6.2.3

推荐答案

感谢大家的回应。我会记得在下次发生这样的事情时检查这些事情。但事实证明,这次问题是由我为了安全防范而迫使我长时间运行的进程被终止的服务器引起的。我已经和管理员聊过了,他已经更新了,所以我的推送工作现在就开始了。

Thanks to everyone for the responses. I will remember to check those things the next time something like this happens. It turns out though that this time the issue was caused by the server I was pushing to killing my long running process as part of a security precaution. I've chatted with the administrator and he's updated it so my push will work now.

再次感谢所有人的帮助。

Thanks again to everyone for all the help.

这篇关于混帐错误 - 无法推送一些裁判(包装对象死亡与奇怪的错误)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆