1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 06:22:07 +02:00
tldr/pages/common/git-update-index.md
2020-03-18 12:56:11 +08:00

280 B

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}}