git-branch: Mention -d and -D in man-page.
Signed-off-by: Andreas Ericsson <ae@op5.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Andreas Ericsson committed
Nov 14, 2005 at 17:53 UTC
d4072c9722d1ef28abe8ef0eb0b244017fff3f42
1 file changed
+11
-4
Documentation/git-branch.txt
+11
-4
@@ -3,11 +3,11 @@ git-branch(1)
3
4
NAME
5
----
6
-git-branch - Create a new branch.
6
+git-branch - Create a new branch, or remove an old one.
7
8
SYNOPSIS
9
--------
10
-'git-branch' [<branchname> [start-point]]
10
+'git-branch' [-d | -D] [<branchname> [start-point]]
11
12
DESCRIPTION
13
-----------
@@ -19,11 +19,18 @@ created, otherwise it will be created at the current HEAD.
19
20
OPTIONS
21
-------
22
+-d::
23
+ Delete a branch. The branch must be fully merged.
24
+
25
+-D::
26
+ Delete a branch irrespective of its index status.
27
+
28
<branchname>::
23
- The name of the branch to create.
29
+ The name of the branch to create or delete.
30
31
start-point::
26
- Where to create the branch; defaults to HEAD.
32
+ Where to create the branch; defaults to HEAD. This
33
+ option has no meaning with -d and -D.
34
35
Author
36
------