X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-update-index.txt;h=6cfbd9a842f0601cf81f8780ecf6b7939b25dccb;hb=3af51928ab7cefa35048e3a5a9e78a127749d405;hp=b161c8b32b196b2e251ee65ee43e5aa0349b96b4;hpb=9299c4f147bcff603eef187eb04fe38153571d30;p=git.git diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt index b161c8b32..6cfbd9a84 100644 --- a/Documentation/git-update-index.txt +++ b/Documentation/git-update-index.txt @@ -27,6 +27,9 @@ Modifies the index or directory cache. Each file mentioned is updated into the index and any 'unmerged' or 'needs updating' state is cleared. +See also gitlink: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: @@ -295,13 +298,19 @@ in the index and the file mode on the filesystem if they differ only on executable bit. On such an unfortunate filesystem, you may need to use `git-update-index --chmod=`. +Quite similarly, if `core.symlinks` configuration variable is set +to 'false' (see gitlink:git-config[1]), symbolic links are checked out +as plain files, and this command does not modify a recorded file mode +from symbolic link to regular file. + The command looks at `core.ignorestat` configuration variable. See 'Using "assume unchanged" bit' section above. See Also -------- -gitlink:git-config[1] +gitlink:git-config[1], +gitlink:git-add[1] Author