美文网首页
git 报错 fatal: index-pack failed

git 报错 fatal: index-pack failed

作者: 在宇宙Debugger | 来源:发表于2017-05-05 10:04 被阅读1604次

如果在pull代码时遇到错误

Paste_Image.png
  1. 先输入git prune


    Paste_Image.png
  2. 出现错误提示, 根据错误提示内容, 进入.git 将该文件删除对应的文件


    Paste_Image.png
  3. 重新pull, 就恢复正常啦


    Paste_Image.png

相关文章

网友评论

      本文标题:git 报错 fatal: index-pack failed

      本文链接:https://www.haomeiwen.com/subject/zeujtxtx.html