D:\WWW\>git pull
error: bad signature 0x00000000
fatal: index file corrupt
解决方案 :
-
删除旧的索引文件,它路径在项目的
.git/index
,Linux 执行rm -f .git/index
,Windows 执行del .git\index
-
通过
reset
命令重建索引:git reset
D:\WWW\>git pull
error: bad signature 0x00000000
fatal: index file corrupt
解决方案 :
删除旧的索引文件,它路径在项目的.git/index
,Linux 执行rm -f .git/index
,Windows 执行del .git\index
通过reset
命令重建索引:git reset
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。