tldr/pages/common/git-update-index.md

9 lines
280 B
Markdown
Raw Normal View History

2020-03-18 04:56:11 +00:00
# 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 status` will not show this as changed):
`git update-index --skip-worktree {{path/to/modified_file}}`