繁体   English   中英

Git push heroku master失败,并显示“远程:致命:早期EOF错误:解包失败:索引包异常退出”

[英]Git push heroku master fails with “remote: fatal: early EOF error: unpack failed: index-pack abnormal exit”

对于为什么我的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:rebuild,但仍然没有运气。 我正在Cloud9 IDE上的Ubuntu实例上运行此程序,仓库在这里: https : //github.com/101291/pinteresting (对Github的推送正常工作)。

任何帮助将非常感激!

谢谢

我遇到了同样的问题(我试图将原来是很大的文件推入!),并且修复了以下问题: git push heroku master --no-thin

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

-[no-] thin这些选项传递给git-send-pack 1 当发送方和接收方共享许多相同的对象时,精简传输会大大减少发送的数据量。 默认值为--thin。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM