码迷,mamicode.com
首页 > 其他好文 > 详细

error: index-pack died of signal fatal: index-pack failed【Git】

时间:2018-11-21 12:22:46      阅读:648      评论:0      收藏:0      [点我收藏+]

标签:导致   计算机   pull   dep   class   gnu   clone   epo   git clone   

error: index-pack died of signal fatal: index-pack failed

环境:

克隆Linux源码时发生错误
git clone https://github.com/torvalds/linux.git

error: index-pack died of signal fatal: index-pack failed

google云Compute Engine
Memory: 0.6GB内存
Linux版本: Debian GNU/Linux 9.5 (stretch)

错误原因

结合网上的博客、以及StackOverFlow的回答,问题原因应该是计算机内不足导致的

解决方法

1.尝试

#!/bin/bash
git config --global core.compression 0

git clone --depth 1 <repo_URI>

git fetch --unshallow

git pull --all

error: index-pack died of signal fatal: index-pack failed【Git】

标签:导致   计算机   pull   dep   class   gnu   clone   epo   git clone   

原文地址:https://www.cnblogs.com/shengwang/p/9993897.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!