summaryrefslogtreecommitdiffstats
path: root/git-branch.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-10-10 00:56:29 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-10-10 00:56:29 +0000
commitc0e55e76f42a06dfbb4ede27d35f6bdb8cae1f01 (patch)
tree3d14a6b26152cf3e014eafe48918109b2cc7cbf4 /git-branch.html
parent0e5cb1e4d7480845f839da2ee71c267ee054f758 (diff)
downloadgit-htmldocs-c0e55e76f42a06dfbb4ede27d35f6bdb8cae1f01.tar.gz
Autogenerated HTML docs for v1.6.5-rc3-35-g3340
Diffstat (limited to 'git-branch.html')
-rw-r--r--git-branch.html28
1 files changed, 15 insertions, 13 deletions
diff --git a/git-branch.html b/git-branch.html
index 6094239eb..ea589efd5 100644
--- a/git-branch.html
+++ b/git-branch.html
@@ -340,10 +340,8 @@ commit (i.e. the branches whose tip commits are reachable from the named
commit) will be listed. With <tt>--no-merged</tt> only branches not merged into
the named commit will be listed. If the &lt;commit&gt; argument is missing it
defaults to <em>HEAD</em> (i.e. the tip of the current branch).</p></div>
-<div class="para"><p>In the command's second form, a new branch named &lt;branchname&gt; will be created.
-It will start out with a head equal to the one given as &lt;start-point&gt;.
-If no &lt;start-point&gt; is given, the branch will be created with a head
-equal to that of the currently checked out branch.</p></div>
+<div class="para"><p>The command's second form creates a new branch head named &lt;branchname&gt;
+which points to the current <em>HEAD</em>, or &lt;start-point&gt; if given.</p></div>
<div class="para"><p>Note that this will create the new branch, but it will not switch the
working tree to it; use "git checkout &lt;newbranch&gt;" to switch to the
new branch.</p></div>
@@ -525,19 +523,21 @@ start-point is either a local or remote branch.</p></div>
</p>
</dd>
<dt>
---merged
+--merged [&lt;commit&gt;]
</dt>
<dd>
<p>
- Only list branches which are fully contained by HEAD.
+ Only list branches whose tips are reachable from the
+ specified commit (HEAD if not specified).
</p>
</dd>
<dt>
---no-merged
+--no-merged [&lt;commit&gt;]
</dt>
<dd>
<p>
- Do not list branches which are fully contained by HEAD.
+ Only list branches whose tips are not reachable from the
+ specified commit (HEAD if not specified).
</p>
</dd>
<dt>
@@ -556,9 +556,9 @@ start-point is either a local or remote branch.</p></div>
</dt>
<dd>
<p>
- The new branch will be created with a HEAD equal to this. It may
- be given as a branch name, a commit-id, or a tag. If this option
- is omitted, the current branch is assumed.
+ The new branch head will point to this commit. It may be
+ given as a branch name, a commit-id, or a tag. If this
+ option is omitted, the current HEAD will be used instead.
</p>
</dd>
<dt>
@@ -665,7 +665,9 @@ but different purposes:</p></div>
<div class="sectionbody">
<div class="para"><p><a href="git-check-ref-format.html">git-check-ref-format(1)</a>,
<a href="git-fetch.html">git-fetch(1)</a>,
-<a href="git-remote.html">git-remote(1)</a>.</p></div>
+<a href="git-remote.html">git-remote(1)</a>,
+<a href="user-manual.html#what-is-a-branch">&#8220;Understanding history: What is
+a branch?&#8221;</a> in the Git User's Manual.</p></div>
</div>
<h2 id="_author">Author</h2>
<div class="sectionbody">
@@ -681,7 +683,7 @@ but different purposes:</p></div>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2009-08-30 00:22:35 UTC
+Last updated 2009-10-10 00:56:05 UTC
</div>
</div>
</body>