1git-branch(1) 2============= 3 4NAME 5---- 6git-branch - Create a new branch, or remove an old one. 7 8SYNOPSIS 9-------- 10'git-branch' [-d | -D] [<branchname> [start-point]] 11 12DESCRIPTION 13----------- 14If no argument is provided, show available branches and mark current 15branch with star. Otherwise, create a new branch of name <branchname>. 16 17If a starting point is also specified, that will be where the branch is 18created, otherwise it will be created at the current HEAD. 19 20OPTIONS 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>:: 29 The name of the branch to create or delete. 30 31start-point:: 32 Where to create the branch; defaults to HEAD. This 33 option has no meaning with -d and -D. 34 35Author 36------ 37Written by Linus Torvalds <torvalds@osdl.org> and Junio C Hamano <junkio@cox.net> 38 39Documentation 40-------------- 41Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>. 42 43GIT 44--- 45Part of the gitlink:git[7] suite 46