termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Pretend that a modified file is unchanged (git status will not show this as changed)
git update-index
Git command for manipulating the index.
More information: <https://git-scm.com/docs/git-update-index>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
git update-index --skip-worktree {{path/to/modified_file}}
click the source code to copy
install
git update-index
on any operating system with
command-not-found.com