git update-index --assume-unchanged returns error

前端 未结 3 1051
轻奢々
轻奢々 2021-02-19 00:05

git update-index --assume-unchanged returns fatal: Unable to mark file .

What do I need to do to fix this? Wha

3条回答
  •  情话喂你
    2021-02-19 00:10

    Is it added to the repository, not in .git/info/exclude and not on .gitignore?

    If the answer is yes to either of those, then the file is not in the repository and this is the reason for the error.

    Try git ls-files -o and see if the file is there. It should not be.

提交回复
热议问题