Git工具使用遇到的一些问题记录
1.git 报错error: bad signature 0x00000000
解决方案:
1)删除旧的索引文件,它路径在项目的.git/index,Linux 执行rm -f .git/index,Windows 执行del .git\index
2)通过reset命令重建索引:git reset
1.git 报错error: bad signature 0x00000000
解决方案:
1)删除旧的索引文件,它路径在项目的.git/index,Linux 执行rm -f .git/index,Windows 执行del .git\index
2)通过reset命令重建索引:git reset