diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-02-01 00:22:22 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-02-01 00:22:22 +0000 |
commit | 8f62db9398f1b5c51907cea20d4b51cb0cd391d3 (patch) | |
tree | ad3a6c4e81a173815730c64a9637d2e8dd0fe9fe /git-checkout.html | |
parent | 7ad22dc9253e1434fcf289ab9cfe23067018e0a9 (diff) | |
download | git-htmldocs-8f62db9398f1b5c51907cea20d4b51cb0cd391d3.tar.gz |
Autogenerated HTML docs for v1.5.0-rc3
Diffstat (limited to 'git-checkout.html')
-rw-r--r-- | git-checkout.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/git-checkout.html b/git-checkout.html index 4b8c211f8..7b7053008 100644 --- a/git-checkout.html +++ b/git-checkout.html @@ -274,7 +274,7 @@ git-checkout(1) Manual Page <div class="sectionbody">
<div class="verseblock">
<div class="content"><em>git-checkout</em> [-f] [-b <new_branch> [-l]] [-m] [<branch>]
-<em>git-checkout</em> [<branch>] <paths>…</div></div>
+<em>git-checkout</em> [<tree-ish>] <paths>…</div></div>
</div>
<h2>DESCRIPTION</h2>
<div class="sectionbody">
@@ -285,11 +285,13 @@ specified, <new_branch>. Using -b will cause <new_branch> to be created.</p>
<p>When <paths> are given, this command does <strong>not</strong> switch
branches. It updates the named paths in the working tree from
-the index file (i.e. it runs <tt>git-checkout-index -f -u</tt>). In
+the index file (i.e. it runs <tt>git-checkout-index -f -u</tt>), or a
+named commit. In
this case, <tt>-f</tt> and <tt>-b</tt> options are meaningless and giving
-either of them results in an error. <branch> argument can be
-used to specify a specific tree-ish to update the index for the
-given paths before updating the working tree.</p>
+either of them results in an error. <tree-ish> argument can be
+used to specify a specific tree-ish (i.e. commit, tag or tree)
+to update the index for the given paths before updating the
+working tree.</p>
</div>
<h2>OPTIONS</h2>
<div class="sectionbody">
@@ -509,7 +511,7 @@ $ git update-index frotz</tt></pre> </div>
<div id="footer">
<div id="footer-text">
-Last updated 17-Jan-2007 20:25:05 UTC
+Last updated 01-Feb-2007 00:22:05 UTC
</div>
</div>
</body>
|