Examples (1)
Pretend that a modified file is unchanged (`git status` will not show this as changed)
git update-index --skip-worktree path/to/modified_filemade by @shridhargupta | data from tldr-pages
Pretend that a modified file is unchanged (`git status` will not show this as changed)
git update-index --skip-worktree path/to/modified_file