summaryrefslogtreecommitdiffstats
path: root/git-checkout.txt
diff options
context:
space:
mode:
Diffstat (limited to 'git-checkout.txt')
-rw-r--r--git-checkout.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/git-checkout.txt b/git-checkout.txt
index 240c54639..55a50b5b2 100644
--- a/git-checkout.txt
+++ b/git-checkout.txt
@@ -63,7 +63,9 @@ $ git checkout <branch>
------------
+
that is to say, the branch is not reset/created unless "git checkout" is
-successful.
+successful (e.g., when the branch is in use in another worktree, not
+just the current branch stays the same, but the branch is not reset to
+the start-point, either).
'git checkout' --detach [<branch>]::
'git checkout' [--detach] <commit>::