]> git.ipfire.org Git - thirdparty/git.git/blobdiff - Documentation/git-restore.txt
doc: restore: synchronize <pathspec> description
[thirdparty/git.git] / Documentation / git-restore.txt
index 1ab2e40ea938195aa8f1bd45f5bf3ae711b7055a..d7bf016bba3cf4d13797f1ac8b7c39008cc1e712 100644 (file)
@@ -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
 --------