1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
10 .de Sp \" Vertical space (when we can't use .PP)
16 .ie \\n(.$>=3 .ne \\$3
20 .TH "GIT-BRANCH" 1 "" "" ""
22 git-branch \- Create a new branch, or remove an old one.
26 git\-branch [\-d | \-D] [<branchname> [start\-point]]
31 If no argument is provided, show available branches and mark current branch with star\&. Otherwise, create a new branch of name <branchname>\&.
34 If a starting point is also specified, that will be where the branch is created, otherwise it will be created at the current HEAD\&.
40 Delete a branch\&. The branch must be fully merged\&.
44 Delete a branch irrespective of its index status\&.
48 The name of the branch to create or delete\&.
52 Where to create the branch; defaults to HEAD\&. This option has no meaning with \-d and \-D\&.
57 Start development off of a know tag
60 $ git clone git://git\&.kernel\&.org/pub/scm/\&.\&.\&./linux\-2\&.6 my2\&.6
62 $ git branch my2\&.6\&.14 v2\&.6\&.14
63 $ git checkout my2\&.6\&.14
65 These two steps are the same as "checkout \-b my2\&.6\&.14 v2\&.6\&.14"\&.
67 Delete unneeded branch
70 $ git clone git://git\&.kernel\&.org/\&.\&.\&./git\&.git my\&.git
74 delete todo branch even if the "master" branch does not have all
75 commits from todo branch\&.
79 Written by Linus Torvalds <torvalds@osdl\&.org> and Junio C Hamano <junkio@cox\&.net>
84 Documentation by Junio C Hamano and the git\-list <git@vger\&.kernel\&.org>\&.
89 Part of the \fBgit\fR(7) suite