git clone时文件太大导致clone失败
Issue
fatal: early EOF
fatal: index-pack failed
Solution
编辑home目录下的.gitconfig
,添加以下配置,以扩大单个文件最大容量限制:
1 2 3 4 5 6 7
| [core] packedGitLimit = 1024m packedGitWindowSize = 1024m [pack] deltaCacheSize = 2047m packSizeLimit = 2047m windowMemory = 2047m
|