mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 18:26:02 +02:00
git-update-index: add page (#3911)
This commit is contained in:
parent
a671c64bb4
commit
60a7b9bf9f
1 changed files with 8 additions and 0 deletions
8
pages/common/git-update-index.md
Normal file
8
pages/common/git-update-index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue