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

命令执行依次:

$ rm -f .git/index

$ git reset

重启即可

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