[PATCH] Finish documenting trivial merge rules
[git/gitweb.git] / Documentation / git-branch.txt
bloba2a0cfb7bebb6ecb28fd0635c31d5004687a6bce
1 git-branch(1)
2 =============
4 NAME
5 ----
6 git-branch - Create a new branch.
8 SYNOPSIS
9 --------
10 'git-branch' [<branchname> [start-point]]
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>.
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.
20 OPTIONS
21 -------
22 <branchname>::
23         The name of the branch to create.
25 start-point::
26         Where to make the branch; defaults to HEAD.
28 Author
29 ------
30 Written by Linus Torvalds <torvalds@osdl.org> and Junio C Hamano <junkio@cox.net>
32 Documentation
33 --------------
34 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
36 GIT
37 ---
38 Part of the gitlink:git[7] suite