小编wux*_*hou的帖子

git pull和clone error fatal:早期EOF; 致命:unpack-objects失败

抱歉打扰你的天才..

我遇到一个常见的问题,即堆栈溢出有很多解决方案,但这些解决方案都不适合我.所以最后我别无选择,只能在堆栈溢出时再次请求天才的帮助.

  1. 我的服务器上有一个克隆的存储库.
  2. 当我在我的开发机器上更改了一些代码并推送到远程git存储库时,一切运行顺利.
  3. 错误从我从服务器提取数据开始.在服务器上,我命令git pull出现以下错误:

remote: Counting objects: 66, done. remote: Compressing objects: 100% (65/65), done. Connection to bitbucket.org closed by remote host. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: unpack-objects failed

  1. 我尝试了这个sloution:致命:早期EOF致命:索引包失败 但我从第2步得到错误git clone --depth 1 <repo_URI>

错误是:

Cloning into 'sinolife'... remote: Counting objects: 2783, done. remote: Compressing objects: 100% (2199/2199), done. Connection to bitbucket.org closed by remote host.00 KiB/s
fatal: The remote end hung up unexpectedly fatal: early EOF …

git fatal-error

6
推荐指数
1
解决办法
4116
查看次数

标签 统计

fatal-error ×1

git ×1