소스 검색

git-update-index: add page (#3911)

Randy Sugianto (Yuku) 5 년 전
부모
커밋
60a7b9bf9f
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. 8 0
      pages/common/git-update-index.md

+ 8 - 0
pages/common/git-update-index.md

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