文章目录 git使用中出现:git fatal: index file smaller than expected git使用中出现:git fatal: index file smaller than expected git的索引文件损坏了,删除对应的索引文件重建即可 rm -rf .git/index git reset HEAD .