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>
Jon Loeliger committed
Mar 17, 2006 at 18:24 UTC
dd1811199ed01280f882f9907e743153b4a2c937
1 file changed
+7
-3
Documentation/git-branch.txt
+7
-3
@@ -7,16 +7,20 @@ git-branch - Create a new branch, or remove an old one
7
8
SYNOPSIS
9
--------
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>
13
14
DESCRIPTION
15
-----------
16
If no argument is provided, show available branches and mark current
17
branch with star. Otherwise, create a new branch of name <branchname>.
16
-
18
If a starting point is also specified, that will be where the branch is
19
created, otherwise it will be created at the current HEAD.
20
21
+With a `-d` or `-D` option, `<branchname>` will be deleted.
22
+
23
+
24
OPTIONS
25
-------
26
-d::
@@ -39,7 +43,7 @@ OPTIONS
43
Examples
44
~~~~~~~~
45
42
-Start development off of a know tag::
46
+Start development off of a known tag::
47
+
48
------------
49
$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6