X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-branch.txt;h=71ecd858aad06b88cd459af15751fd2b604c3271;hb=a3cc31fb059410d6b96786045947bafc2f32ce60;hp=b1bc8272ebf11fae564b435e7d812adb6e14a976;hpb=36b5b3c65948694d9a92de5a17f2b97c3cd84879;p=git.git diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt index b1bc8272..71ecd858 100644 --- a/Documentation/git-branch.txt +++ b/Documentation/git-branch.txt @@ -3,20 +3,24 @@ git-branch(1) NAME ---- -git-branch - Create a new branch, or remove an old one. +git-branch - Create a new branch, or remove an old one SYNOPSIS -------- -'git-branch' [(-d | -D) ] | [[-f] []] +[verse] +'git-branch' [[-f] []] +'git-branch' (-d | -D) DESCRIPTION ----------- If no argument is provided, show available branches and mark current branch with star. Otherwise, create a new branch of name . - If a starting point is also specified, that will be where the branch is created, otherwise it will be created at the current HEAD. +With a `-d` or `-D` option, `` will be deleted. + + OPTIONS ------- -d:: @@ -39,7 +43,7 @@ OPTIONS Examples ~~~~~~~~ -Start development off of a know tag:: +Start development off of a known tag:: + ------------ $ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6