IT系/リファレンス/Gitコマンド/git_update-index

Last-modified: 2020-06-12 (金) 20:59:27

git update-index

作業ツリーのファイルの内容をインデックスに登録するコマンド。

用例

  • xxx
    xxx
  • xxx
    xxx

書式

git update-index [options] [file]

公式によると以下の通り。

git update-index
            [--add] [--remove | --force-remove] [--replace]
            [--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]
            [--ignore-submodules]
            [--[no-]split-index]
            [--[no-|test-|force-]untracked-cache]
            [--[no-]fsmonitor]
            [--really-refresh] [--unresolve] [--again | -g]
            [--info-only] [--index-info]
            [-z] [--stdin] [--index-version <n>]
            [--verbose]
	     [--] [<file>…]

options

/xxxx

etc.

説明

作業ツリーのファイルの内容をインデックスに登録するコマンド。

関連

  • xxx

参考リンク

その他メモ

なにかあれば。