summaryrefslogtreecommitdiffstats
path: root/git-checkout.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-12-27 15:51:52 -0800
committerJunio C Hamano <gitster@pobox.com>2023-12-27 15:51:52 -0800
commit7ae46b40202f2928d34d523c62e7c215f44f91bf (patch)
treeffb22c4c699c9a6be3281ddd35ee32753d75141a /git-checkout.txt
parent8c556f838df5e9e4fbfe52d9ad098610973b13bf (diff)
downloadgit-htmldocs-7ae46b40202f2928d34d523c62e7c215f44f91bf.tar.gz
Autogenerated HTML docs for v2.43.0-232-ge7955
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>::