git报错问题处理
bad signature和index file corrupt的处理方法
使用git status
命令报错日志:
λ git status |
解决方法:
- 进入工程目录
cd /project
- 删除文件
rm -rf .git/index
- 重建文件
git reset
本博客所有文章除特别声明外,均采用 CC BY-NC-ND 4.0 许可协议。转载请注明来自 MBlog!
评论
使用git status
命令报错日志:
λ git status |
解决方法:
cd /project
rm -rf .git/index
git reset