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