git update-index --skip-worktree [file]git
恢復 git update-index --no-skip-worktree [file]ip
另外一種方法it
git update-index --assume-unchanged [file]date
恢復 git update-index --no-assume-unchanged [file]file