Git fatal: 索引文件损坏
repo的时候出现以下错误:
error: 索引使用不被支持的扩展
fatal: 索引文件损坏
使用以下命令解决:
rm -f .git/index git reset