summaryrefslogtreecommitdiffstats
path: root/git-checkout.html
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.html
parenta07e81615021017ceca672ee38fc554bca031683 (diff)
downloadgit-htmldocs-440791e6481312398e9f265fae88a443bda4e5c0.tar.gz
Autogenerated HTML docs for v1.6.1.1-259-g8712
Diffstat (limited to 'git-checkout.html')
-rw-r--r--git-checkout.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/git-checkout.html b/git-checkout.html
index ab2afa8bf..a4e8cf21b 100644
--- a/git-checkout.html
+++ b/git-checkout.html
@@ -499,6 +499,9 @@ the conflicted merge in the specified paths.</p></div>
</p>
<div class="para"><p>When this parameter names a non-branch (but still a valid commit object),
your HEAD becomes <em>detached</em>.</p></div>
+<div class="para"><p>As a special case, the "<tt>@{-N}</tt>" syntax for the N-th last branch
+checks out the branch (instead of detaching). You may also specify
+"<tt>-</tt>" which is synonymous with "<tt>@{-1}</tt>".</p></div>
</dd>
</dl></div>
</div>
@@ -641,7 +644,7 @@ $ git add frotz</tt></pre>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2008-12-19 21:37:55 UTC
+Last updated 2009-01-29 01:53:51 UTC
</div>
</div>
</body>