0

Trying to push a project created before, to a private repository, it is the first commit to master branch remote, the repository is empty, just with a README file.

The push takes a long time and throws this error:

Failed pushing to... (Repo) Premature EOF

What is the reason?

Thanks

mike
  • 1,233
  • 1
  • 15
  • 36
mcmora
  • 1
  • 2
  • Possible duplicate of [Git push fails with "fatal: early EOF" when PUSHing but only on one file](http://stackoverflow.com/questions/12009493/git-push-fails-with-fatal-early-eof-when-pushing-but-only-on-one-file) – Nolwennig Sep 13 '16 at 21:39

1 Answers1

0

Edit local .git/config to add compression = 0 in [core] section.

Nolwennig
  • 1,613
  • 24
  • 29