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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM