Git push heroku master失败" remote:致命:早期EOF错误:解包失败:index-pack异常退出"

时间:2015-04-01 04:22:36

标签: ruby-on-rails git heroku github cloud9-ide

这里的初学者难以理解为什么我的git推向Heroku突然失败了:

a101291@pinteresting:~/workspace (master) $ git push heroku master
Counting objects: 2043, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (1997/1997), done.
Writing objects: 100% (2021/2021), 35.58 MiB | 4.20 MiB/s, done.
Total 2021 (delta 847), reused 0 (delta 0)

...现在它挂起约15分钟然后:

remote: fatal: early EOF
error: unpack failed: index-pack abnormal exit
To https://git.heroku.com/omr101291.git
 ! [remote rejected] master -> master (unpacker error)

再次尝试几次无济于事。还尝试重新启动dyno和heroku repo:重建但仍然没有运气。我在Cloud9 IDE上的Ubuntu实例上运行它,并且repo在这里:https://github.com/101291/pinteresting (推向Github工作正常)。

非常感谢任何帮助!

由于

1 个答案:

答案 0 :(得分:1)

我遇到了同样的问题(我试图将原来是大文件的内容推送!),并且解决了该问题: git push heroku master --no-thin

如果您有兴趣,这里是git docs的简要说明:

  

-[no-] thin这些选项传递到git-send-pack 1。细传输大大减少了发件人发送的数据量   与接收者共享许多相同的对象。默认是   -薄。

相关问题