You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
804 B
40 lines
804 B
19 years ago
|
git-branch(1)
|
||
|
=============
|
||
19 years ago
|
|
||
|
NAME
|
||
|
----
|
||
19 years ago
|
git-branch - Create a new branch.
|
||
19 years ago
|
|
||
|
SYNOPSIS
|
||
|
--------
|
||
19 years ago
|
'git-branch' [<branchname> [start-point]]
|
||
19 years ago
|
|
||
|
DESCRIPTION
|
||
|
-----------
|
||
19 years ago
|
If no argument is provided, show available branches and mark current
|
||
|
branch with star. Otherwise, create a new branch of name <branchname>.
|
||
19 years ago
|
|
||
19 years ago
|
If a starting point is also specified, that will be where the branch is
|
||
|
created, otherwise it will be created at the current HEAD.
|
||
19 years ago
|
|
||
|
OPTIONS
|
||
|
-------
|
||
19 years ago
|
<branchname>::
|
||
|
The name of the branch to create.
|
||
19 years ago
|
|
||
19 years ago
|
start-point::
|
||
|
Where to make the branch; defaults to HEAD.
|
||
19 years ago
|
|
||
|
Author
|
||
|
------
|
||
|
Written by Linus Torvalds <torvalds@osdl.org> and Junio C Hamano <junkio@cox.net>
|
||
|
|
||
|
Documentation
|
||
|
--------------
|
||
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
||
|
|
||
|
GIT
|
||
|
---
|
||
|
Part of the link:git.html[git] suite
|
||
|
|