summaryrefslogtreecommitdiff
path: root/Documentation/git-checkout.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/git-checkout.adoc')
-rw-r--r--Documentation/git-checkout.adoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/git-checkout.adoc b/Documentation/git-checkout.adoc
index ee83b6d9ba..40e02cfd65 100644
--- a/Documentation/git-checkout.adoc
+++ b/Documentation/git-checkout.adoc
@@ -289,6 +289,8 @@ section of linkgit:git-add[1] to learn how to operate the `--patch` mode.
Note that this option uses the no overlay mode by default (see also
`--overlay`), and currently doesn't support overlay mode.
+include::diff-context-options.adoc[]
+
`--ignore-other-worktrees`::
`git checkout` refuses when the wanted branch is already checked
out or otherwise in use by another worktree. This option makes