【Git】early EOF

部门内的几个妹子反应Git同步的时候总是报错,无法提交,报错内容如下:Sleepless movie streaming

[root@bigdata1 data]# git clone http://xxxx/root/tts_bi.git
Cloning into 'tts_bi'...
Username for 'http://xxxx': xxx@163.com
Password for 'http://xxx@163.com@172.18.0.115':
remote: Counting objects: 5483, done.
remote: Compressing objects: 100% (4632/4632), done.
fatal: The remote end hung up unexpectedly5 MiB | 3.21 MiB/s
fatal: early EOF
fatal: index-pack failed

处理方法:

linux下:
[hadoop@hadoop tmp]$ git config --global core.compression 0
[hadoop@hadoop tmp]$ git clone --depth 1 http://xxxx/root/tts_bi.git
[hadoop@hadoop tts_bi]$ git fetch --unshallow
[hadoop@hadoop tts_bi]$ git pull --all
正在获取 origin
Already up-to-date.
 
Windows下:
1.git clone:
clone
2.选择depth
depth
 
3.fetch depth 值填:2147483647
fetch
 
4.最后正常pull即可。

2 thoughts on “【Git】early EOF

  • 2016-11-15 at 21:29
    Permalink

    I am rеally happy to read this blog posts which consists of plentу of һelpful data, thanks
    fߋr providing these ѕtatistics.

    Reply

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据