Git错误:膨胀:数据流错误(数据检查不正确)

时间:2012-06-07 20:10:32

标签: git heroku

虽然我通常可以提交并push到其他远程存储库(例如Github),但是当我尝试git push heroku master时出现此错误:

    error: inflate: data stream error (incorrect data check)
    fatal: loose object ae1711b15b2793ae756797eebdfafc051d52a215 (stored in .git/objects/ae/1711b15b2793ae756797eebdfafc051d52a215) is corrupt

如果我做git fsck --no-dangling,我会收到相同的消息。

这些是heroku遥控器:

heroku  git@heroku.com:fppis.git (fetch)
heroku  git@heroku.com:fppis.git (push)

1 个答案:

答案 0 :(得分:0)

不确定是什么导致了这个问题,但我通过将GitHub远程克隆到新的本地存储库并将其再次推送到Heroku来解决了这个问题。

相关问题