fatal: early EOF fatal: index-pack failed

后端 未结 30 1600
滥情空心
滥情空心 2020-11-22 10:51

I have googled and found many solutions but none work for me.

I am trying to clone from one machine by connecting to the remote server which is in the LAN network.

30条回答
  •  Happy的楠姐
    2020-11-22 11:32

    A previous answer recommends setting to 512m. I'd say there are reasons to think that's counterproductive on a 64bit architecture. The documentation for core.packedGitLimit says:

    Default is 256 MiB on 32 bit platforms and 32 TiB (effectively unlimited) on 64 bit platforms. This should be reasonable for all users/operating systems, except on the largest projects. You probably do not need to adjust this value.

    If you want to try it out check if you have it set and then remove the setting:

    git config --show-origin core.packedGitLimit
    git config --unset --global core.packedGitLimit
    

提交回复
热议问题