mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 10:51:15 +00:00
Update cheatsheets
This commit is contained in:
13
git-update-index
Normal file
13
git-update-index
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user