git 出现stderr: error: bad signature fatal: index file corrupt

命令执行依次:

$ rm -f .git/index

$ git reset

重启即可

posted @ 2017-10-30 22:12  徐锅  阅读(3614)  评论(0编辑  收藏  举报