]> granicus.if.org Git - git/commitdiff
branch doc: change `git branch <pattern>` to use `<branchname>`
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 23 Mar 2017 12:03:26 +0000 (12:03 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Mar 2017 04:22:25 +0000 (21:22 -0700)
Change an example for `git branch <pattern>` to say `git branch
<branchname>` to be consistent with the synopsis. This changes
documentation added in d8d33736b5 ("branch: allow pattern arguments",
2011-08-28).

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt

index 28d46cc03b217c156769f6123c7b3e3351eabce4..6a17ca591a2b53061b86eb92f44bd715fce613b4 100644 (file)
@@ -142,7 +142,7 @@ 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,
+       Activate the list mode. `git branch <branchname>` would try to create a branch,
        use `git branch --list <pattern>` to list matching branches.
 
 -v::