зарегистрируйте содержимое файла в рабочем дереве в индекс (Register file contents in the working tree to the index)
Имя (Name)
git-update-index - Register file contents in the working tree to
the index
Синопсис (Synopsis)
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>...]
Описание (Description)
Modifies the index. Each file mentioned is updated into the index
and any unmerged or needs updating state is cleared.
See also git-add(1) for a more user-friendly way to do some of
the most common operations on the index.
The way git update-index handles files it is told about can be
modified using the various options: