git-lfs文件坏掉的问题 Encountered 2 file(s) that should have been pointers, but weren't
Posted dylanchu
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git-lfs文件坏掉的问题 Encountered 2 file(s) that should have been pointers, but weren't相关的知识,希望对你有一定的参考价值。
git更新后有时会提示没更改的文件为更改状态,尝试checkout这些文件还是会报:
Encountered 2 file(s) that should have been pointers, but weren‘t......
和attributes文件中关于git-lfs的内容有关。
git rm .gitattributes
git reset --hard HEAD
以上是关于git-lfs文件坏掉的问题 Encountered 2 file(s) that should have been pointers, but weren't的主要内容,如果未能解决你的问题,请参考以下文章