Skip to content

Commit 41bff66

Browse files
committed
doc: apply the new placeholder rules to git-add documentation
Signed-off-by: Junio C Hamano <[email protected]>
1 parent 43c8a30 commit 41bff66

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Documentation/git-add.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ OPTIONS
6363
to ignore removed files; use `--no-all` option if you want
6464
to add modified or new files but ignore removed ones.
6565
+
66-
For more details about the <pathspec> syntax, see the 'pathspec' entry
66+
For more details about the _<pathspec>_ syntax, see the 'pathspec' entry
6767
in linkgit:gitglossary[7].
6868

6969
-n::
@@ -119,10 +119,10 @@ apply to the index. See EDITING PATCHES below.
119119
-u::
120120
--update::
121121
Update the index just where it already has an entry matching
122-
<pathspec>. This removes as well as modifies index entries to
122+
_<pathspec>_. This removes as well as modifies index entries to
123123
match the working tree, but adds no new files.
124124
+
125-
If no <pathspec> is given when `-u` option is used, all
125+
If no _<pathspec>_ is given when `-u` option is used, all
126126
tracked files in the entire working tree are updated (old versions
127127
of Git used to limit the update to the current directory and its
128128
subdirectories).
@@ -131,11 +131,11 @@ subdirectories).
131131
--all::
132132
--no-ignore-removal::
133133
Update the index not only where the working tree has a file
134-
matching <pathspec> but also where the index already has an
134+
matching _<pathspec>_ but also where the index already has an
135135
entry. This adds, modifies, and removes index entries to
136136
match the working tree.
137137
+
138-
If no <pathspec> is given when `-A` option is used, all
138+
If no _<pathspec>_ is given when `-A` option is used, all
139139
files in the entire working tree are updated (old versions
140140
of Git used to limit the update to the current directory and its
141141
subdirectories).
@@ -145,11 +145,11 @@ subdirectories).
145145
Update the index by adding new files that are unknown to the
146146
index and files modified in the working tree, but ignore
147147
files that have been removed from the working tree. This
148-
option is a no-op when no <pathspec> is used.
148+
option is a no-op when no _<pathspec>_ is used.
149149
+
150150
This option is primarily to help users who are used to older
151-
versions of Git, whose "git add <pathspec>..." was a synonym
152-
for "git add --no-all <pathspec>...", i.e. ignored removed files.
151+
versions of Git, whose "git add _<pathspec>_..." was a synonym
152+
for "git add --no-all _<pathspec>_...", i.e. ignored removed files.
153153

154154
-N::
155155
--intent-to-add::
@@ -198,8 +198,8 @@ for "git add --no-all <pathspec>...", i.e. ignored removed files.
198198
unchanged.
199199

200200
--pathspec-from-file=<file>::
201-
Pathspec is passed in `<file>` instead of commandline args. If
202-
`<file>` is exactly `-` then standard input is used. Pathspec
201+
Pathspec is passed in _<file>_ instead of commandline args. If
202+
_<file>_ is exactly `-` then standard input is used. Pathspec
203203
elements are separated by LF or CR/LF. Pathspec elements can be
204204
quoted as explained for the configuration variable `core.quotePath`
205205
(see linkgit:git-config[1]). See also `--pathspec-file-nul` and

0 commit comments

Comments
 (0)