Skip to content

Commit b66f3b6

Browse files
avargitster
authored andcommitted
branch doc: change git branch <pattern> to use <branchname>
Change an example for `git branch <pattern>` to say `git branch <branchname>` to be consistent with the synopsis. This changes documentation added in d8d3373 ("branch: allow pattern arguments", 2011-08-28). Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8624735 commit b66f3b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/git-branch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ This option is only applicable in non-verbose mode.
142142
List both remote-tracking branches and local branches.
143143

144144
--list::
145-
Activate the list mode. `git branch <pattern>` would try to create a branch,
145+
Activate the list mode. `git branch <branchname>` would try to create a branch,
146146
use `git branch --list <pattern>` to list matching branches.
147147

148148
-v::

0 commit comments

Comments
 (0)