我不得不重新安装操作系统(Windows 7 x64),与项目相关的所有内容都在另一个分区上,所以我的项目仍然存在。在我需要安装的应用程序中,还有 git,但在我尝试查看项目的状态(git status
)之后,发生了以下异常:
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
致命:无法读取树 30cda07e931a7c9f3b1e3383c18efa10b2523c67
这对我来说是第一个。我想知道其他人是否遇到过类似的事情,这是解决方案。
谢谢!