diff options
| author | Junio C Hamano <junkio@cox.net> | 2005-11-14 18:39:18 -0800 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2005-11-14 18:39:18 -0800 |
| commit | 60d64db4614b1007ca37c228923ec1964d5ad394 (patch) | |
| tree | d376d7e422b9a6cc51ef9a4b7f90e59f5520247e /Documentation/git-branch.txt | |
| parent | f7a2eb735982e921ae4379f1dcf5f7a023610393 (diff) | |
| parent | d7bba815753bf8c31886fcf6bb89c9e6250674a5 (diff) | |
| download | git-1.0rc2.tar.xz | |
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-branch.txt')
| -rw-r--r-- | Documentation/git-branch.txt | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt index a7121a4c63..98014f6d9b 100644 --- a/Documentation/git-branch.txt +++ b/Documentation/git-branch.txt @@ -3,11 +3,11 @@ git-branch(1) NAME ---- -git-branch - Create a new branch. +git-branch - Create a new branch, or remove an old one. SYNOPSIS -------- -'git-branch' [<branchname> [start-point]] +'git-branch' [-d | -D] [<branchname> [start-point]] DESCRIPTION ----------- @@ -19,11 +19,18 @@ created, otherwise it will be created at the current HEAD. OPTIONS ------- +-d:: + Delete a branch. The branch must be fully merged. + +-D:: + Delete a branch irrespective of its index status. + <branchname>:: - The name of the branch to create. + The name of the branch to create or delete. start-point:: - Where to create the branch; defaults to HEAD. + Where to create the branch; defaults to HEAD. This + option has no meaning with -d and -D. Author ------ |
