Git push fails with “fatal: early EOF” when PUSHing but only on one file

前端 未结 3 461
名媛妹妹
名媛妹妹 2020-12-16 15:43

When I try adding textures and text files to my repo it all works, but when I try adding a .blend file I get this error. I\'ve tried a bunch of things I found here and on go

相关标签:
3条回答
  • 2020-12-16 15:56

    It's possible that you are overflowing the postbuffer.

    The following command fixes the symptom for me:

    git config http.postBuffer 524288000
    

    See this related issue: https://stackoverflow.com/a/3605544/193785

    0 讨论(0)
  • 2020-12-16 16:16

    I'm just going to add what worked for me in case someone else stumbles upon this problem.

    Execute the following on the command line to make large files work when you get the above error.

    git config http.postBuffer 524288000
    

    See https://groups.google.com/forum/#!topic/gitlabhq/tNfe2POcY4E.

    0 讨论(0)
  • 2020-12-16 16:20

    (This answer is a workaround, not a solution.)

    I've just had the same problem (can't push my changes anymore using TortoiseGit/msysgit). Since the problem occurs during unpacking, it can be avoided by disabling compression:

    1. Context Menu on the folder/TortoiseGit/Settings
    2. "Edit local .git/config"
    3. Add compression = 0 to the [core] section.

    Obviously, disabling compression might affect performance, so use this workaround at your own discretion.

    0 讨论(0)
提交回复
热议问题