Nick Gronow
Nick Gronow

Reputation: 1617

Heroku git pull error on mac

I have a Heroku project that has worked for months with no issues relating to git cloning, pushing, or pulling. Recently, I started getting this error when performing a git pull:

remote: Counting objects: 729, done.
remote: Compressing objects: 100% (308/308), done.
fatal: The remote end hung up unexpectedlyKiB | 76 KiB/s   
fatal: early EOF
fatal: index-pack failed

There has been no significant changes to the code base. I am well under the storage limit on Heroku. A coworker of mine also cannot do a git clone of the heroku repository. It results in the same error. I have noticed that the early EOF line sometimes also includes this:

fatal: early EOFs:  24% (153/637), 196.00 KiB | 117 KiB/s   

I am on a Mac OS X Mountain Lion Macbook Air, with the native server being utilized, and no other deep customizations that would impact the system.

Any ideas?

Upvotes: 1

Views: 368

Answers (2)

Nick Gronow
Nick Gronow

Reputation: 1617

Well, I have heard several say that Heroku is not a reliable repository platform, so I am taking that to heart, and moved my repository on over to BitBucket. That solved my problem. From now on all other repositories I create will be hosted there, and still deployed on Heroku.

Upvotes: 1

cassi.lup
cassi.lup

Reputation: 1261

Here's a workaround:

  1. "Edit local .git/config"
  2. Add compression = 0 to the [core] section.

Other solution:

Run git config --add core.compression -1 from the terminal.

Upvotes: 0

Related Questions