git update-index --assume-unchanged <filename>
returns fatal: Unable to mark file <filename>
.
What do I need to do to fix this? What is it complaining about and why?
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.