diff --git a/pages/common/git-update-index.md b/pages/common/git-update-index.md new file mode 100644 index 000000000..12793b211 --- /dev/null +++ b/pages/common/git-update-index.md @@ -0,0 +1,8 @@ +# git update-index + +> Git command for manipulating the index. +> More information: . + +- Pretend that a modified file is unchanged (`git status` will not show this as changed): + +`git update-index --skip-worktree {{path/to/modified_file}}`