我不得不重新安裝操作系統(Windows 7 x64),與項目相關的一切都在另一個分區上,所以我的項目依然存在。其中,我需要安裝也GIT中的應用程序,但之後我想看看是什麼項目(git status
)的狀態下發生的異常:git錯誤:「索引文件太小」
error: index file .git/objects/pack/pack-d3325f684a4eca22c0c168d7c63119da147865e 4.idx is too small
error: index file .git/objects/pack/pack-d3325f684a4eca22c0c168d7c63119da147865e 4.idx is too small
error: index file .git/objects/pack/pack-d3325f684a4eca22c0c168d7c63119da147865e 4.idx is too small
error: index file .git/objects/pack/pack-d3325f684a4eca22c0c168d7c63119da147865e 4.idx is too small
warning: packfile .git/objects/pack/pack-dc512716779f21b39f70fea9afcb5baa36ea872 d.pack cannot be accessed
error: index file .git/objects/pack/pack-d3325f684a4eca22c0c168d7c63119da147865e 4.idx is too small
fatal: unable to read tree 30cda07e931a7c9f3b1e3383c18efa10b2523c67
這是第一個給我。我想知道其他人是否遇到類似的問題,以及解決方案。
謝謝!
什麼是新舊版本的git? –
很好的問題。新版本是1.8.1.msysgit.1。舊的...不知道。有沒有辦法找出來? –