- [--add] [--remove] [--refresh] [--replace]
+ [--add] [--remove] [--unmerged] [--refresh] [--replace]
[--cacheinfo <mode> <object> <file>]\*
- Note that files begining with '.' are discarded. This includes
+ Note that files begining with '.' are discarded. This includes
`./file` and `dir/./file`. If you don't want this, then use
The same applies to directories ending '/' and paths with '//'
git-checkout-index -n -f -a && git-update-index --ignore-missing --refresh
+The command honors `core.filemode` configuration variable. If
+your repository is on an filesystem whose executable bits are
+unreliable, this should be set to 'false'. This causes the
+command to ignore differences in file modes recorded 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=`.
Written by Linus Torvalds <email@example.com>