Browse Source

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>
maint
Alexandr Miloslavskiy 5 years ago committed by Junio C Hamano
parent
commit
cfd9376c1d
  1. 12
      Documentation/git-restore.txt

12
Documentation/git-restore.txt

@ -8,8 +8,8 @@ git-restore - Restore working tree files
SYNOPSIS SYNOPSIS
-------- --------
[verse] [verse]
'git restore' [<options>] [--source=<tree>] [--staged] [--worktree] <pathspec>... 'git restore' [<options>] [--source=<tree>] [--staged] [--worktree] [--] <pathspec>...
'git restore' (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [<pathspec>...] 'git restore' (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [--] [<pathspec>...]


DESCRIPTION DESCRIPTION
----------- -----------
@ -113,6 +113,14 @@ in linkgit:git-checkout[1] for details.
appear in the `--source` tree are removed, to make them match appear in the `--source` tree are removed, to make them match
`<tree>` exactly. The default is no-overlay mode. `<tree>` exactly. The default is no-overlay mode.


\--::
Do not interpret any more arguments as options.

<pathspec>...::
Limits the paths affected by the operation.
+
For more details, see the 'pathspec' entry in linkgit:gitglossary[7].

EXAMPLES EXAMPLES
-------- --------



Loading…
Cancel
Save