doc: restore: synchronize <pathspec> description
`git add` shows an example of good writing, follow it. Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Alexandr Miloslavskiy committed
Dec 3, 2019 at 14:02 UTC
cfd9376c1dbe32a42bc877524940cceebd898106
1 file changed
+10
-2
Documentation/git-restore.txt
+10
-2
@@ -8,8 +8,8 @@ git-restore - Restore working tree files
8
SYNOPSIS
9
--------
10
[verse]
11
-'git restore' [<options>] [--source=<tree>] [--staged] [--worktree] <pathspec>...
12
-'git restore' (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [<pathspec>...]
11
+'git restore' [<options>] [--source=<tree>] [--staged] [--worktree] [--] <pathspec>...
12
+'git restore' (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [--] [<pathspec>...]
13
14
DESCRIPTION
15
-----------
@@ -113,6 +113,14 @@ in linkgit:git-checkout[1] for details.
113
appear in the `--source` tree are removed, to make them match
114
`<tree>` exactly. The default is no-overlay mode.
115
116
+\--::
117
+ Do not interpret any more arguments as options.
118
+
119
+<pathspec>...::
120
+ Limits the paths affected by the operation.
121
++
122
+For more details, see the 'pathspec' entry in linkgit:gitglossary[7].
123
+
124
EXAMPLES
125
--------
126