git 文件太大报错
克隆或者下载的时候发现的,错误信息fatal: The remote end hung up unexpectedly fatal: early EOF
[root@iZbp16f1zy4u80usr6kzawZ ~]# git clone git@git.oschina.net:xiangyue/farm_admin.git
Cloning into 'farm_admin'...
Warning: Permanently added 'git.oschina.net,120.55.226.24' (ECDSA) to the list of known hosts.
remote: Counting objects: 3749, done.
remote: Compressing objects: 100% (3320/3320), done.
Write failed: Broken pipe3712/3749), 2.71 MiB | 2.66 MiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
[root@iZbp16f1zy4u80usr6kzawZ ~]# git config --global http.postBuffer 524288000
[root@iZbp16f1zy4u80usr6kzawZ ~]# git clone git@git.oschina.net:xiangyue/farm_admin.git
Cloning into 'farm_admin'...
Warning: Permanently added 'git.oschina.net,120.55.226.24' (ECDSA) to the list of known hosts.
remote: Counting objects: 3749, done.
remote: Compressing objects: 100% (3320/3320), done.
remote: Total 3749 (delta 2219), reused 932 (delta 349)
Receiving objects: 100% (3749/3749), 12.48 MiB | 10.82 MiB/s, done.
Resolving deltas: 100% (2219/2219), done.

Last modified on 2018-08-03