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:

  • git: new blank line at EOF
  • How can I signal EOF to the Git Bash terminal?
  • 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?

  • How can I resurrect a branch?
  • How do I delete a remote branch in Git?
  • Filter-branch filters out directory within subdirectory
  • git is not detecting changes in some files
  • ghprb - adding content to build status messages?
  • SVN & VS.NET 2003 - Anyway to run without modified TortoiseSVN?
  • 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:

    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.

    Git Baby is a git and github fan, let's start git clone.