2005-09-08 04:26:23 +04:00
|
|
|
git-branch(1)
|
|
|
|
=============
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2005-09-08 04:26:23 +04:00
|
|
|
git-branch - Create a new branch.
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-09-08 04:26:23 +04:00
|
|
|
'git-branch' [<branchname> [start-point]]
|
2005-08-23 12:49:47 +04:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-08-27 05:18:48 +04: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 12:49:47 +04:00
|
|
|
|
2005-08-27 05:18:48 +04: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 12:49:47 +04:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2005-08-27 05:18:48 +04:00
|
|
|
<branchname>::
|
|
|
|
The name of the branch to create.
|
2005-08-23 12:49:47 +04:00
|
|
|
|
2005-08-27 05:18:48 +04:00
|
|
|
start-point::
|
|
|
|
Where to make the branch; defaults to HEAD.
|
2005-08-23 12:49:47 +04: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
|
|
|
|
---
|
2005-09-19 14:10:51 +04:00
|
|
|
Part of the gitlink:git[7] suite
|
2005-08-23 12:49:47 +04:00
|
|
|
|