git Bitbucket 无法克隆存储库“致命:早期 EOF 致命:索引包失败”
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/39160277/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Bitbucket cannot clone repository "fatal: early EOF fatal: index-pack failed"
提问by PaladiN
I am trying to clone my repository using ssh
from bitbucket
but whenever i clone the repository i get:
我正在尝试使用ssh
from克隆我的存储库,bitbucket
但是每当我克隆存储库时,我都会得到:
Connection to bitbucket.org closed by remote host.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
During cloning repositories of small size
it gets cloned but when cloning bigger size
repositories gives the error.
I also have tried this method:
在克隆small size
它的存储库期间被克隆但是当克隆bigger size
存储库时会出现错误。我也试过这个方法:
fatal: early EOF fatal: index-pack failed
but no luck. Could any one help with the issue?
但没有运气。任何人都可以帮助解决这个问题吗?
Note:
笔记:
Http
cloning works fine, but that doesn't work in my scenario. I need to clone using only ssh
.
Http
克隆工作正常,但这在我的场景中不起作用。我只需要使用ssh
.
回答by Joel Estramil
I fix this issue running: "git fetch origin"
我修复了这个问题:“git fetch origin”
回答by Rodazzzz
git config --global http.postBuffer 157286400
git clone <repository>
回答by RASEL RANA
Run git config --global core.compression 9
before git clone [email protected]:******/*******.git
运行git config --global core.compression 9
之前git clone [email protected]:******/*******.git