]>
Commit | Line | Data |
---|---|---|
215a7ad1 JH |
1 | git-branch(1) |
2 | ============= | |
7fc9d69f JH |
3 | |
4 | NAME | |
5 | ---- | |
215a7ad1 | 6 | git-branch - Create a new branch. |
7fc9d69f JH |
7 | |
8 | SYNOPSIS | |
9 | -------- | |
215a7ad1 | 10 | 'git-branch' [<branchname> [start-point]] |
7fc9d69f JH |
11 | |
12 | DESCRIPTION | |
13 | ----------- | |
52a22d1e LAS |
14 | If no argument is provided, show available branches and mark current |
15 | branch with star. Otherwise, create a new branch of name <branchname>. | |
7fc9d69f | 16 | |
52a22d1e LAS |
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. | |
7fc9d69f JH |
19 | |
20 | OPTIONS | |
21 | ------- | |
52a22d1e LAS |
22 | <branchname>:: |
23 | The name of the branch to create. | |
7fc9d69f | 24 | |
52a22d1e LAS |
25 | start-point:: |
26 | Where to make the branch; defaults to HEAD. | |
7fc9d69f JH |
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 link:git.html[git] suite | |
39 |