Git检出问题[致命:早期EOF] [英] Git checking out problem [fatal: early EOFs]

查看:146
本文介绍了Git检出问题[致命:早期EOF]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

我可以将我的项目代码推送到服务器上,但是当我执行克隆或拉时,它会返回大约75-80%的[致命的:早期EOFs]错误。

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

任何可以帮助解决此问题的建议/建议?



预先致谢。

解决方案

你使用的是什么Git版本( Ubuntu 9.10包装提及1.6.3 )最近的一个线程报道了一个类似的 www.cygwin.com/ml/cygwin/2009-12/msg00740.htmlrel =nofollow noreferrer> Git1.7.1问题,虽然它是从Cygwin环境

  $ git clone git:/ repo / git / acl acl.test 
在/c/tmp/acl.test/.git/中初始化空的Git存储库
remote:计数对象:9205 ,做东北。
remote:压缩对象:100%(3300/3300),完成。
致命:远程终端意外挂起
致命:早期EOF:62%(5708/9205)
致命:索引包装失败

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






由于评论中的OP 样式报告,该消息也可能由不正确的协议触发:

  git + ssh:// 

而不仅仅是:

:// + git命令

I'm running a Ubuntu (9.10) server with Git (latest from Ubuntu package manager) installed. Access to the Git is via SSH. On windows machines, I'm using Cygwin to push/pull code.

I can push my project code onto the server but when I do a clone or pull, it returns a [fatal: early EOFs] error at about 75-80%.

Upon further investigation, it seems like textual data has no issue when pulled/cloned but when the jar files and images are pulled from Git, the error will occur.

Any suggestion/advice that can help to resolve this issue?

Thanks in advance.

解决方案

What is the Git version are you using (Ubuntu 9.10 packages mentions 1.6.3)

A recent thread reported a similar issue with Git1.7.1, although it was 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

Did you try downgrade your Git (on the server side and/or the client side) and see if the problem persists?


As the OP Style reports in the comments, the message can also be trigger by an incorrect protocol:

git+ssh://

instead of just:

ssh:// + git command

这篇关于Git检出问题[致命:早期EOF]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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