summaryrefslogtreecommitdiffstats
path: root/git-branch.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-03-28 15:01:40 -0700
committerJunio C Hamano <gitster@pobox.com>2017-03-28 15:01:40 -0700
commit2affb96f40129de19a00a0ff8b22e31a47499c42 (patch)
tree4700d27428bfbac9938185bf6edea4475dce25bb /git-branch.html
parent7ab74c417c5b91c9b0cabd4b4ba94884c0aff570 (diff)
downloadgit-htmldocs-2affb96f40129de19a00a0ff8b22e31a47499c42.tar.gz
Autogenerated HTML docs for v2.12.2-510-ge110
Diffstat (limited to 'git-branch.html')
-rw-r--r--git-branch.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/git-branch.html b/git-branch.html
index a3fbd9967..12dcbc798 100644
--- a/git-branch.html
+++ b/git-branch.html
@@ -959,9 +959,13 @@ way to clean up all obsolete remote-tracking branches.</p></div>
</dt>
<dd>
<p>
- Activate the list mode. <code>git branch &lt;pattern&gt;</code> would try to create a branch,
- use <code>git branch --list &lt;pattern&gt;</code> to list matching branches.
+ List branches. With optional <code>&lt;pattern&gt;...</code>, e.g. <code>git
+ branch --list 'maint-*'</code>, list only the branches that match
+ the pattern(s).
</p>
+<div class="paragraph"><p>This should not be confused with <code>git branch -l &lt;branchname&gt;</code>,
+which creates a branch named <code>&lt;branchname&gt;</code> with a reflog.
+See <code>--create-reflog</code> above for details.</p></div>
</dd>
<dt class="hdlist1">
-v
@@ -1292,7 +1296,7 @@ a branch?&#8221;</a> in the Git User&#8217;s Manual.</p></div>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2017-02-27 15:37:25 PST
+Last updated 2017-03-28 15:01:30 PDT
</div>
</div>
</body>