git-update-index
将工作树中的文件内容注册到索引。
概要
bash
git update-index
[--add] [--remove] [--refresh] [-q] [--unmerged] [--ignore-missing]
[(--cacheinfo <mode>,<object>,<file>)...]
[--chmod=(+|-)x]
[--[no-]assume-unchanged]
[--[no-]skip-worktree]
[--[no-]ignore-skip-worktree-entries]
[--[no-]fsmonitor-valid]
[--info-only] [--index-info]
[-z] [--stdin]
[--split-index] [--no-split-index]
[--untracked-cache] [--no-untracked-cache]
[--fsmonitor] [--no-fsmonitor]
[--test-untracked-cache]
[--force-untracked-cache]
[--name-hash-version=<n>]描述
通过从工作树复制内容或从指定的对象位置,注册文件信息到索引。
Git
git 套件的一部分
