doc: commit: synchronize <pathspec> description
`git add` shows an example of good writing, follow it. This also better disambiguates <file>... header. Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
64bac8df97
commit
66a25a7242
@ -13,7 +13,7 @@ SYNOPSIS
|
|||||||
[-F <file> | -m <msg>] [--reset-author] [--allow-empty]
|
[-F <file> | -m <msg>] [--reset-author] [--allow-empty]
|
||||||
[--allow-empty-message] [--no-verify] [-e] [--author=<author>]
|
[--allow-empty-message] [--no-verify] [-e] [--author=<author>]
|
||||||
[--date=<date>] [--cleanup=<mode>] [--[no-]status]
|
[--date=<date>] [--cleanup=<mode>] [--[no-]status]
|
||||||
[-i | -o] [-S[<keyid>]] [--] [<file>...]
|
[-i | -o] [-S[<keyid>]] [--] [<pathspec>...]
|
||||||
|
|
||||||
DESCRIPTION
|
DESCRIPTION
|
||||||
-----------
|
-----------
|
||||||
@ -345,12 +345,13 @@ changes to tracked files.
|
|||||||
\--::
|
\--::
|
||||||
Do not interpret any more arguments as options.
|
Do not interpret any more arguments as options.
|
||||||
|
|
||||||
<file>...::
|
<pathspec>...::
|
||||||
When files are given on the command line, the command
|
When pathspec is given on the command line, commit the contents of
|
||||||
commits the contents of the named files, without
|
the files that match the pathspec without recording the changes
|
||||||
recording the changes already staged. The contents of
|
already added to the index. The contents of these files are also
|
||||||
these files are also staged for the next commit on top
|
staged for the next commit on top of what have been staged before.
|
||||||
of what have been staged before.
|
+
|
||||||
|
For more details, see the 'pathspec' entry in linkgit:gitglossary[7].
|
||||||
|
|
||||||
:git-commit: 1
|
:git-commit: 1
|
||||||
include::date-formats.txt[]
|
include::date-formats.txt[]
|
||||||
|
Reference in New Issue
Block a user