git clone appears fatal: index-pack failed problem solution

Problem 1.
When Git clone occurred, the following problems occurred:

fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

2. Steps to solve the problem:

git config --add core.compression -1

3. New problems
The terminal executes the previous sentence and then continues to pull the code. The problem appears as follows:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining 
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

4. Problem-solving steps
This error may be caused by insufficient git memory. Modify the configuration to continue terminal processing:

[core] 
packedGitLimit = 512m 
packedGitWindowSize = 512m 
[pack] 
deltaCacheSize = 2047m 
packSizeLimit = 2047m 
windowMemory = 2047m

The statements in the above modified terminal are similar to those of eg:
git config --global core.com compression 0
After the above steps of processing, you can pull down the code!
Reference:
Technology blog: https://stackoverflow.com/questions/21277806/fatal-early-eof-fatal-index-pack-failed technology blog: https://vnzmi.com/2017/01/08/git-early-eof-index-pack-failed/ technology blog: https://blog.csdn.net/qq_32791023/article/details/83622283?depth_1-utm_source=distribute.pc_relevant.none-task& utm_source=distribute.pc_relevant.none-task
The above content is only on behalf of the individual summary if there are mistakes, please also criticize correct, welcome to study together!

Read More: