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)
|
||
|
=============
|
||
20 years ago
|
|
||
|
NAME
|
||
|
----
|
||
19 years ago
|
git-branch - Create a new branch.
|
||
20 years ago
|
|
||
|
SYNOPSIS
|
||
|
--------
|
||
19 years ago
|
'git-branch' [<branchname> [start-point]]
|
||
20 years ago
|
|
||
|
DESCRIPTION
|
||
|
-----------
|
||
20 years ago
|
If no argument is provided, show available branches and mark current
|
||
|
branch with star. Otherwise, create a new branch of name <branchname>.
|
||
20 years ago
|
|
||
20 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.
|
||
20 years ago
|
|
||
|
OPTIONS
|
||
|
-------
|
||
20 years ago
|
<branchname>::
|
||
|
The name of the branch to create.
|
||
20 years ago
|
|
||
20 years ago
|
start-point::
|
||
|
Where to make the branch; defaults to HEAD.
|
||
20 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
|
||
|
|