git :error: bad signature fatal: index file corrupt

删除.git/index文件再执行:

git reset

不行的话就执行:

git read-tree  --empty

 

 

https://stackoverflow.com/questions/21365714/nodejs-error-installing-with-npm

posted @ 2017-11-03 12:00  瓶子2333  阅读(1787)  评论(0编辑  收藏  举报