aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-branch.txt
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2017-03-23 12:03:26 +0000
committerJunio C Hamano <gitster@pobox.com>2017-03-23 21:22:25 -0700
commitb66f3b6bba3a4e0210f8d63ce456f3055c8aa85d (patch)
treeef250de13b5b240fc67b3f622b1483ed144473cc /Documentation/git-branch.txt
parent8624735d9aca62ffaef84de3b2b8345b1771086a (diff)
downloadgit-b66f3b6bba3a4e0210f8d63ce456f3055c8aa85d.tar.gz
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 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>
Diffstat (limited to 'Documentation/git-branch.txt')
-rw-r--r--Documentation/git-branch.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index 28d46cc03b..6a17ca591a 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -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::