summaryrefslogtreecommitdiffstats
path: root/git-restore.txt
diff options
context:
space:
mode:
Diffstat (limited to 'git-restore.txt')
-rw-r--r--git-restore.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-restore.txt b/git-restore.txt
index 5964810ca..c70444705 100644
--- a/git-restore.txt
+++ b/git-restore.txt
@@ -78,6 +78,8 @@ all modified paths.
--theirs::
When restoring files in the working tree from the index, use
stage #2 ('ours') or #3 ('theirs') for unmerged paths.
+ This option cannot be used when checking out paths from a
+ tree-ish (i.e. with the `--source` option).
+
Note that during `git rebase` and `git pull --rebase`, 'ours' and
'theirs' may appear swapped. See the explanation of the same options
@@ -87,6 +89,8 @@ in linkgit:git-checkout[1] for details.
--merge::
When restoring files on the working tree from the index,
recreate the conflicted merge in the unmerged paths.
+ This option cannot be used when checking out paths from a
+ tree-ish (i.e. with the `--source` option).
--conflict=<style>::
The same as `--merge` option above, but changes the way the