git fatal: index file smaller than expected

时间:2015-02-28 11:39:36   收藏:0   阅读:104

由于git的index文件出错。

需要删除.git/index文件,

然后运行git reset,重新生成index文件。
git reset还可以删除已经commit,但未push上去的信息。

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!