Git 检查问题 [致命 : early EOFs]

标签 git ubuntu-9.10 binaryfiles

我正在运行安装了 Git(来自 Ubuntu 包管理器的最新版本)的 Ubuntu (9.10) 服务器。通过 SSH 访问 Git。在 Windows 机器上,我使用 Cygwin 来推送/pull 代码。

我可以将我的项目代码推送到服务器上,但是当我进行克隆或 pull 时,它会在大约 75-80% 时返回 [fatal: early EOFs] 错误。

经过进一步调查,似乎文本数据在 pull/克隆时没有问题,但是当从 Git 中 pull jar 文件和图像时,就会出现错误。

有什么建议可以帮助解决这个问题吗?

提前致谢。

最佳答案

您使用的 Git 版本是多少 ( Ubuntu 9.10 packages mentions 1.6.3 )

最近的一个线程报告了一个类似的 issue with Git1.7.1 , 虽然它是 from a Cygwin environment .

$ git clone git:/repo/git/acl acl.test
  Initialized empty Git repository in /c/tmp/acl.test/.git/
  remote: Counting objects: 9205, done.
  remote: Compressing objects: 100% (3300/3300), done.
  fatal: The remote end hung up unexpectedly
  fatal: early EOFs:  62% (5708/9205)
  fatal: index-pack failed

您是否尝试降级 Git(在服务器端和/或 the client side )并查看问题是否仍然存在?


作为 OP Style在评论中报告,该消息也可以由不正确的协议(protocol)触发:

git+ssh://

而不仅仅是:

ssh://+ git 命令

关于Git 检查问题 [致命 : early EOFs],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2505644/

相关文章:

git - 如何使用脚本循环 git status

virtual-machine - 数字键盘按键不起作用

ruby - 需要 Sinatra gem 时出错

c - 对结构体 C 的数组进行排序

github - 在 GitHub 上分发我的项目的二进制文件的最佳方式是什么?

Eclipse 和 EGit : Can't export SSH

cpanel 存储库的 GitHub 工作流程

windows - msysgit git clone忽略ssh配置

linker - 'dlsym' 的库在哪里

c - 二进制文件复制更新的帐户