Skip to content

Commit dd18111

Browse files
Jon LoeligerJunio C Hamano
authored andcommitted
Call out the two different uses of git-branch and fix a typo.
Signed-off-by: Jon Loeliger <jdl@jdl.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 55258b5 commit dd18111

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Documentation/git-branch.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@ git-branch - Create a new branch, or remove an old one
77

88
SYNOPSIS
99
--------
10-
'git-branch' [(-d | -D) <branchname>] | [[-f] <branchname> [<start-point>]]
10+
[verse]
11+
'git-branch' [[-f] <branchname> [<start-point>]]
12+
'git-branch' (-d | -D) <branchname>
1113

1214
DESCRIPTION
1315
-----------
1416
If no argument is provided, show available branches and mark current
1517
branch with star. Otherwise, create a new branch of name <branchname>.
16-
1718
If a starting point is also specified, that will be where the branch is
1819
created, otherwise it will be created at the current HEAD.
1920

21+
With a `-d` or `-D` option, `<branchname>` will be deleted.
22+
23+
2024
OPTIONS
2125
-------
2226
-d::
@@ -39,7 +43,7 @@ OPTIONS
3943
Examples
4044
~~~~~~~~
4145

42-
Start development off of a know tag::
46+
Start development off of a known tag::
4347
+
4448
------------
4549
$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6

0 commit comments

Comments
 (0)