diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-03-28 15:01:40 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-28 15:01:40 -0700 |
commit | 2affb96f40129de19a00a0ff8b22e31a47499c42 (patch) | |
tree | 4700d27428bfbac9938185bf6edea4475dce25bb /git-branch.html | |
parent | 7ab74c417c5b91c9b0cabd4b4ba94884c0aff570 (diff) | |
download | git-htmldocs-2affb96f40129de19a00a0ff8b22e31a47499c42.tar.gz |
Autogenerated HTML docs for v2.12.2-510-ge110
Diffstat (limited to 'git-branch.html')
-rw-r--r-- | git-branch.html | 10 |
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 <pattern></code> would try to create a branch,
- use <code>git branch --list <pattern></code> to list matching branches.
+ List branches. With optional <code><pattern>...</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 <branchname></code>,
+which creates a branch named <code><branchname></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?”</a> in the Git User’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>
|