撤消 "git update-index --assume-unchanged" 不起作用(结合 --no-skip-worktree)

Undo "git update-index --assume-unchanged" is not working (in conjunction with --no-skip-worktree)

我已经阅读了Undo git update-index --assume-unchanged file,但是,唉,没有任何效果:

whatever/.idea > git ls-files -v
S ant.xml

我试过了:

git update-index --no-assume-unchanged --no-skip-worktree ant.xml

刚刚完成,但是当我再次 git ls-files -v 时:结果相同。 尽管我有一个干净的 git status,当我分别拉 fetch/rebase 时,我最终得到:

error: Your local changes to the following files would be overwritten by merge:
    .idea/ant.xml
Please commit your changes or stash them before you merge.

(顺便说一句:git update-index --really-refresh 也...什么都不显示)

我在这里遗漏了什么,我怎样才能说服 git 开始将 ant.xml 视为正常的跟踪文件?

使用:

git update-index --no-skip-worktree ant.xml

问题在于:

git update-index --no-assume-unchanged --no-skip-worktree ant.xml

仅服从 first --no 选项:它清除 assume-unchanged 位(已经清除),保持 skip-worktree 位不变(已设置)并保持不变)。

(update-index 命令不应该这样做,但确实如此。)