diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-04-17 08:28:11 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-04-17 08:28:11 +0000 |
commit | 0e3cb537e5dee1347d53fc91ed855a1e84127503 (patch) | |
tree | 96798e6364c62384423f5a2490c9630dfea97a60 /git-checkout.html | |
parent | 29ee16327f63eaf6dfd0a3348669ea607e921032 (diff) | |
download | git-htmldocs-0e3cb537e5dee1347d53fc91ed855a1e84127503.tar.gz |
Autogenerated HTML docs for v1.5.1.1-135-gf948
Diffstat (limited to 'git-checkout.html')
-rw-r--r-- | git-checkout.html | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/git-checkout.html b/git-checkout.html index 6bc77b543..e67e39b28 100644 --- a/git-checkout.html +++ b/git-checkout.html @@ -286,9 +286,9 @@ be created; in this case you can use the --track or --no-track options, which will be passed to <tt>git branch</tt>.</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>), or a
-named commit. In
-this case, <tt>-f</tt> and <tt>-b</tt> options are meaningless and giving
+the index file (i.e. it runs <tt>git-checkout-index -f -u</tt>), or
+from a named commit. In
+this case, the <tt>-f</tt> and <tt>-b</tt> options are meaningless and giving
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
@@ -310,7 +310,8 @@ working tree.</p> </dt>
<dd>
<p>
- Force a re-read of everything.
+ Proceed even if the index or the working tree differs
+ from HEAD. This is used to throw away local changes.
</p>
</dd>
<dt>
@@ -330,8 +331,11 @@ working tree.</p> <dd>
<p>
When -b is given and a branch is created off a remote branch,
- setup so that git-pull will automatically retrieve data from
- the remote branch.
+ set up configuration so that git-pull will automatically
+ retrieve data from the remote branch. Set the
+ branch.autosetupmerge configuration variable to true if you
+ want git-checkout and git-branch to always behave as if
+ <em>--track</em> were given.
</p>
</dd>
<dt>
@@ -340,8 +344,9 @@ working tree.</p> <dd>
<p>
When -b is given and a branch is created off a remote branch,
- force that git-pull will automatically retrieve data from
- the remote branch independent of the configuration settings.
+ set up configuration so that git-pull will not retrieve data
+ from the remote branch, ignoring the branch.autosetupmerge
+ configuration variable.
</p>
</dd>
<dt>
@@ -532,7 +537,7 @@ $ git add frotz</tt></pre> </div>
<div id="footer">
<div id="footer-text">
-Last updated 04-Apr-2007 18:33:30 UTC
+Last updated 17-Apr-2007 08:27:40 UTC
</div>
</div>
</body>
|