diff options
author | Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com> | 2019-12-03 14:02:17 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-04 18:10:37 (GMT) |
commit | cfd9376c1dbe32a42bc877524940cceebd898106 (patch) | |
tree | fa03a30ca792a8b74c7072d0d34ac05fb4c5f25c /Documentation/git-restore.txt | |
parent | 8ea1189eacab039fec58b0616bc814d5c03301f8 (diff) | |
download | git-cfd9376c1dbe32a42bc877524940cceebd898106.zip git-cfd9376c1dbe32a42bc877524940cceebd898106.tar.gz git-cfd9376c1dbe32a42bc877524940cceebd898106.tar.bz2 |
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>
Diffstat (limited to 'Documentation/git-restore.txt')
-rw-r--r-- | Documentation/git-restore.txt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Documentation/git-restore.txt b/Documentation/git-restore.txt index 1ab2e40..d7bf016 100644 --- a/Documentation/git-restore.txt +++ b/Documentation/git-restore.txt @@ -8,8 +8,8 @@ git-restore - Restore working tree files SYNOPSIS -------- [verse] -'git restore' [<options>] [--source=<tree>] [--staged] [--worktree] <pathspec>... -'git restore' (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [<pathspec>...] +'git restore' [<options>] [--source=<tree>] [--staged] [--worktree] [--] <pathspec>... +'git restore' (-p|--patch) [<options>] [--source=<tree>] [--staged] [--worktree] [--] [<pathspec>...] DESCRIPTION ----------- @@ -113,6 +113,14 @@ in linkgit:git-checkout[1] for details. appear in the `--source` tree are removed, to make them match `<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 -------- |