最佳答案
不久前,我这样做是为了忽略 git 跟踪的文件的更改:
git update-index --skip-worktree <file>
现在我实际上想要将对该文件的更改提交到源代码。如何撤消 skip-worktree
的效果?