Merge http://www.kernel.org/pub/scm/gitk/gitk
[git.git] / Documentation / git-branch.txt
1 git-branch(1)
2 =============
3
4 NAME
5 ----
6 git-branch - Create a new branch.
7
8 SYNOPSIS
9 --------
10 'git-branch' [<branchname> [start-point]]
11
12 DESCRIPTION
13 -----------
14 If no argument is provided, show available branches and mark current
15 branch with star. Otherwise, create a new branch of name <branchname>.
16
17 If a starting point is also specified, that will be where the branch is
18 created, otherwise it will be created at the current HEAD.
19
20 OPTIONS
21 -------
22 <branchname>::
23         The name of the branch to create.
24
25 start-point::
26         Where to create the branch; defaults to HEAD.
27
28 Author
29 ------
30 Written by Linus Torvalds <torvalds@osdl.org> and Junio C Hamano <junkio@cox.net>
31
32 Documentation
33 --------------
34 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
35
36 GIT
37 ---
38 Part of the gitlink:git[7] suite
39