File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ SYNOPSIS
1111'git add' [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]
1212 [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]
1313 [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing]
14- [--] [<pathspec>...]
14+ [--chmod=(+|-)x] [-- ] [<pathspec>...]
1515
1616DESCRIPTION
1717-----------
@@ -165,6 +165,11 @@ for "git add --no-all <pathspec>...", i.e. ignored removed files.
165165 be ignored, no matter if they are already present in the work
166166 tree or not.
167167
168+ --chmod=(+|-)x::
169+ Override the executable bit of the added files. The executable
170+ bit is only changed in the index, the files on disk are left
171+ unchanged.
172+
168173\--::
169174 This option can be used to separate command-line options from
170175 the list of files, (useful when filenames might be mistaken
You can’t perform that action at this time.
0 commit comments