gpt4 book ai didi

git - 源树错误 : 'git status' failed with code 128: error: inflate: data stream error (incorrect header check)

转载 作者:行者123 更新时间:2023-12-03 23:56:43 39 4
gpt4 key购买 nike

I got this error with open SourceTree

$ git fsck --full
error: inflate: data stream error (incorrect header check)
error: unable to unpack 06c147f2771e280dfb4758c9a83b94346993d172 header
error: inflate: data stream error (incorrect header check)
fatal: loose object 06c147f2771e280dfb4758c9a83b94346993d172 (stored in .git/objects/06/c147f2771e280dfb4758c9a83b94346993d172) is corrupt

另外,试试这个,并删除所有损坏的对象。删除对象后,我写了这个命令,
$ git reset --hard
error: unable to read sha1 file of 3X/3X.Core/Resources/Resource.Designer.cs (d46f74436ae02ec61a659a8a487aee5747e2feda)
error: unable to read sha1 file of 3X/3X.Core/Resources/Resource.resx (63342162564404ccae4917489dc78ebb65075f8a)
error: unable to read sha1 file of 3X/3X.Web/Views/Job/ConfirmationAdvice.cshtml (ff39e42f5cf0e0703bd9dfe84a4b746ff91eea40)
error: unable to read sha1 file of 3X/3X.Web/Views/Job/Create.cshtml (3a97827faac6c62fd24f347dd0b0951c27c03751)
error: unable to read sha1 file of 3X/3X.Web/Views/Job/DataEntry.cshtml (89f381bafaeff53eeaf64a26d8c9608e9e86b6a1)
error: unable to read sha1 file of 3X/3X.Web/wwwroot/js/viewjs/Job/create.js (1b62c618c31add2ca28d107c1a49604492409ecf)
fatal: Could not reset index file to revision 'HEAD'.

并得到上述错误

最佳答案

它应该被损坏。尝试删除此 .git/objects/06/c147f2771e280dfb4758c9a83b94346993d172
如果您遇到另一个对象的相同错误,请尝试删除所有这些并再次获取。

关于git - 源树错误 : 'git status' failed with code 128: error: inflate: data stream error (incorrect header check),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44544688/

39 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com