git update-index --skip-worktree <file>
这样的话,这个文件的改动就不会在git status的时候显示。
git update-index --no-skip-worktree <file>
保留索引,但是假定不变。
git update-index --skip-worktree <file>
这样的话,这个文件的改动就不会在git status的时候显示。
git update-index --no-skip-worktree <file>
保留索引,但是假定不变。