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

https://www.v2ex.com/t/683636

以上是关于git-lfs文件坏掉的问题 Encountered 2 file(s) that should have been pointers, but weren't的主要内容,如果未能解决你的问题,请参考以下文章

解决Qualcomm Atheros AR8161 Gigabit Ethernet网卡Linux下坏掉的问题

P1203 [USACO1.1]坏掉的项链Broken Necklace

题解 P1203 [USACO1.1]坏掉的项链Broken Necklace

P1203 [USACO1.1]坏掉的项链Broken Necklace

坏掉的项链Broken Necklace

洛谷 P1203 [USACO1.1]坏掉的项链Broken Necklace