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