GIT - 在克隆上获得'早期eof'错误 [英] GIT - getting 'early eof' error on clone
问题描述
当我尝试从存储库git克隆项目时,出现早期EOF错误(索引包失败)。
I have a error Early EOF's (Index-Pack Failed) when I try to clone a project from a repository git.
但是当我做一个 git-pull
或 git-push
从我的本地主机到存储库,我没有问题。
该错误给我的信息,存储库已损坏。这很奇怪。
But when I do a git-pull
or git-push
from my localhost to the repository, I have no problems.
The error gives me the message that the repository is corrupt. It's weird.
哪些因素会导致此类错误?服务器,存储库在哪里,内存不足?
What factors can cause such errors? Does the server, where is the repository, has low memory?
推荐答案
git clone会失败,index-pack失败?会列出导致此错误的最常见原因。
git clone fails with "index-pack" failed? will list the most common causes for this error.
但请注意当前的Cygwin版本(如果这是您使用的版本)有一个在使用git进行克隆时遇到问题。
But note the current Cygwin version (if that is what you are using) has an issue with git when cloning over ssh.
根据执行git clone请求的服务器, a href =http://git.661346.n2.nabble.com/Unable-to-clone-via-git-protocol-early-EOF-index-pack-failed-td6203553.html =nofollow noreferrer >通过git协议通过ssh克隆。
Depending on the server executing the git clone request, you also have issue when cloning over ssh via git protocol.
这篇关于GIT - 在克隆上获得'早期eof'错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!