We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a5ff7a + 75ec4a6 commit e779b0fCopy full SHA for e779b0f
Documentation/git-branch.txt
@@ -142,8 +142,13 @@ This option is only applicable in non-verbose mode.
142
List both remote-tracking branches and local branches.
143
144
--list::
145
- Activate the list mode. `git branch <pattern>` would try to create a branch,
146
- 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
147
+ the pattern(s).
148
++
149
+This should not be confused with `git branch -l <branchname>`,
150
+which creates a branch named `<branchname>` with a reflog.
151
+See `--create-reflog` above for details.
152
153
-v::
154
-vv::
0 commit comments