zl程序教程

您现在的位置是:首页 >  其它

当前栏目

Couldnt check the working tree for unmerged files because of an error. bad signature index file cor

Error for The of File an Tree index
2023-09-11 14:19:18 时间

git 提交代码 Couldn't check the working tree for unmerged files because of an error. bad signature 0x00000000 index file corrupt

报错,无法提交

原因:导入错误项目或者误删除 导致index 文件虽坏

解决办法,找到项目下 .git 下的index文件删除,然后用命令行重新生成就行

打开命令行

 

cd 项目目录路径

执行 git reset 自动重新生成index

重启 ide即可!

by lishuhua 1173774507