summaryrefslogtreecommitdiffstats
path: root/git-checkout.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-01-29 01:54:02 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-01-29 01:54:02 +0000
commit440791e6481312398e9f265fae88a443bda4e5c0 (patch)
treeeb9e7bebff80ff19a7f388517f755406923abe6a /git-checkout.txt
parenta07e81615021017ceca672ee38fc554bca031683 (diff)
downloadgit-htmldocs-440791e6481312398e9f265fae88a443bda4e5c0.tar.gz
Autogenerated HTML docs for v1.6.1.1-259-g8712
Diffstat (limited to 'git-checkout.txt')
-rw-r--r--git-checkout.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-checkout.txt b/git-checkout.txt
index 9cd51514d..3bccffae6 100644
--- a/git-checkout.txt
+++ b/git-checkout.txt
@@ -133,6 +133,10 @@ the conflicted merge in the specified paths.
+
When this parameter names a non-branch (but still a valid commit object),
your HEAD becomes 'detached'.
++
+As a special case, the "`@\{-N\}`" syntax for the N-th last branch
+checks out the branch (instead of detaching). You may also specify
+"`-`" which is synonymous with "`@\{-1\}`".
Detached HEAD