git-update-index
- published
- reading time
- 1 minute
git update-index
Git command for manipulating the index. More information: https://git-scm.com/docs/git-update-index.
- Pretend that a modified file is unchanged (
git statuswill not show this as changed):
git update-index --skip-worktree {{path/to/modified_file}}