From: Alexandr Miloslavskiy Date: Tue, 3 Dec 2019 14:02:17 +0000 (+0000) Subject: doc: restore: synchronize description X-Git-Tag: v2.25.0-rc0~17^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cfd9376c1dbe32a42bc877524940cceebd898106;p=thirdparty%2Fgit.git doc: restore: synchronize description `git add` shows an example of good writing, follow it. Signed-off-by: Alexandr Miloslavskiy Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-restore.txt b/Documentation/git-restore.txt index 1ab2e40ea9..d7bf016bba 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' [] [--source=] [--staged] [--worktree] ... -'git restore' (-p|--patch) [] [--source=] [--staged] [--worktree] [...] +'git restore' [] [--source=] [--staged] [--worktree] [--] ... +'git restore' (-p|--patch) [] [--source=] [--staged] [--worktree] [--] [...] DESCRIPTION ----------- @@ -113,6 +113,14 @@ in linkgit:git-checkout[1] for details. appear in the `--source` tree are removed, to make them match `` exactly. The default is no-overlay mode. +\--:: + Do not interpret any more arguments as options. + +...:: + Limits the paths affected by the operation. ++ +For more details, see the 'pathspec' entry in linkgit:gitglossary[7]. + EXAMPLES --------