git报错,error: bad signature 0x00000000fatal: index file corrupt
报错
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks checkout daily --progress
error: bad signature 0x00000000
fatal: index file corrupt
原因
git 仓库中索引文损坏
处理
1.该备份的先备份
2.删除索引并重置
rm -f .git/index
git reset