git-update-index
Git command for manipulating the index. tldr-pages
On several platforms
Several platforms
Pretend that a modified file is unchanged (git status will not show this as changed)
git update-index --skip-worktree path/to/modified_fileIdentify