2005-09-08 02:26:23 +02:00
|
|
|
git-branch(1)
|
|
|
|
=============
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2005-09-08 02:26:23 +02:00
|
|
|
git-branch - Create a new branch.
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-09-08 02:26:23 +02:00
|
|
|
'git-branch' [<branchname> [start-point]]
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-08-27 03:18:48 +02:00
|
|
|
If no argument is provided, show available branches and mark current
|
|
|
|
branch with star. Otherwise, create a new branch of name <branchname>.
|
2005-08-23 10:49:47 +02:00
|
|
|
|
2005-08-27 03:18:48 +02:00
|
|
|
If a starting point is also specified, that will be where the branch is
|
|
|
|
created, otherwise it will be created at the current HEAD.
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2005-08-27 03:18:48 +02:00
|
|
|
<branchname>::
|
|
|
|
The name of the branch to create.
|
2005-08-23 10:49:47 +02:00
|
|
|
|
2005-08-27 03:18:48 +02:00
|
|
|
start-point::
|
|
|
|
Where to make the branch; defaults to HEAD.
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|