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.
2 Solutions collect form web for “Heroku git pull error on mac”
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.
Here’s a workaround:
- “Edit local .git/config”
- Add compression = 0 to the [core] section.
git config --add core.compression -1 from the terminal.