summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-09-21 22:15:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-09-21 22:15:19 (GMT)
commita9817aaef8b1bd7aadc6de599720d3706cc352f6 (patch)
tree31fba662e05fab2dc58112e2da252ce6b16b6060 /Documentation
parent7889ed25ac709624446b0b4d887dd3633e81f44a (diff)
parent7ef7903e60671bc8b13186c5ffd49c6c54435b75 (diff)
downloadgit-a9817aaef8b1bd7aadc6de599720d3706cc352f6.zip
git-a9817aaef8b1bd7aadc6de599720d3706cc352f6.tar.gz
git-a9817aaef8b1bd7aadc6de599720d3706cc352f6.tar.bz2
Merge branch 'et/add-chmod-x'
"git add --chmod=+x" added recently lacked documentation, which has been corrected. * et/add-chmod-x: add: document the chmod option
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-add.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 6a96a66..7ed63dc 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -11,7 +11,7 @@ SYNOPSIS
'git add' [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]
[--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]
[--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing]
- [--] [<pathspec>...]
+ [--chmod=(+|-)x] [--] [<pathspec>...]
DESCRIPTION
-----------
@@ -165,6 +165,11 @@ for "git add --no-all <pathspec>...", i.e. ignored removed files.
be ignored, no matter if they are already present in the work
tree or not.
+--chmod=(+|-)x::
+ Override the executable bit of the added files. The executable
+ bit is only changed in the index, the files on disk are left
+ unchanged.
+
\--::
This option can be used to separate command-line options from
the list of files, (useful when filenames might be mistaken