# assume-unchanged: リポジトリが更新された場合、作業ツリー上の更新を破棄する
git update-index --assume-unchanged [FILENAME]
git update-index --no-assume-unchanged [FILENAME]
# skip-worktree: リポジトリが更新された場合、作業ツリー上の更新を保つ
git update-index --skip-worktree [FILENAME]
git update-index --no-skip-worktree [FILENAME]
# Check file ignore status
git ls-files -v