summaryrefslogtreecommitdiffstats
path: root/git-branch.txt
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.txt
parent7ab74c417c5b91c9b0cabd4b4ba94884c0aff570 (diff)
downloadgit-htmldocs-2affb96f40129de19a00a0ff8b22e31a47499c42.tar.gz
Autogenerated HTML docs for v2.12.2-510-ge110
Diffstat (limited to 'git-branch.txt')
-rw-r--r--git-branch.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/git-branch.txt b/git-branch.txt
index 092f1bcf9..c203e8c07 100644
--- a/git-branch.txt
+++ b/git-branch.txt
@@ -142,8 +142,13 @@ This option is only applicable in non-verbose mode.
List both remote-tracking branches and local branches.
--list::
- Activate the list mode. `git branch <pattern>` would try to create a branch,
- use `git branch --list <pattern>` to list matching branches.
+ List branches. With optional `<pattern>...`, e.g. `git
+ branch --list 'maint-*'`, list only the branches that match
+ the pattern(s).
++
+This should not be confused with `git branch -l <branchname>`,
+which creates a branch named `<branchname>` with a reflog.
+See `--create-reflog` above for details.
-v::
-vv::