簡體   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