码迷,mamicode.com
首页 > 其他好文 > 详细

git-lfs文件坏掉的问题 Encountered 2 file(s) that should have been pointers, but weren't

时间:2020-11-19 12:06:44      阅读:3      评论:0      收藏:0      [点我收藏+]

标签:内容   count   head   更改   block   pre   reset   enc   inter   

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

标签:内容   count   head   更改   block   pre   reset   enc   inter   

原文地址:https://www.cnblogs.com/dylanchu/p/13970667.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!