[ACCEPTED]-Git push fails with "fatal: early EOF" when PUSHing but only on one file-tortoisegit

Accepted answer
Score: 16

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

I've just had the same problem (can't push 5 my changes anymore using TortoiseGit/msysgit). Since 4 the problem occurs during unpacking, it 3 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 2 compression might affect performance, so 1 use this workaround at your own discretion.

Score: 8

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

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

git config http.postBuffer 524288000

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

More Related questions