summaryrefslogtreecommitdiff
path: root/Documentation/git-branch-script.txt
diff options
context:
space:
mode:
authorA Large Angry SCM <gitzilla@gmail.com>2005-08-27 01:18:48 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-08-27 03:53:50 (GMT)
commit52a22d1e726f91b0ba4ea0afb7cfbfaaf624127b (patch)
treeb815188ded9ace02c6b0bce9a07451b44e0df1f5 /Documentation/git-branch-script.txt
parent85002315798dfcd28da6120ac3a461ca3fadfd2e (diff)
downloadgit-52a22d1e726f91b0ba4ea0afb7cfbfaaf624127b.zip
git-52a22d1e726f91b0ba4ea0afb7cfbfaaf624127b.tar.gz
git-52a22d1e726f91b0ba4ea0afb7cfbfaaf624127b.tar.bz2
[PATCH] Subject: [PATCH] Add some documentation.
Add some documentation. Text taken from the the commit messages and the command sources.
Diffstat (limited to 'Documentation/git-branch-script.txt')
-rw-r--r--Documentation/git-branch-script.txt19
1 files changed, 10 insertions, 9 deletions
diff --git a/Documentation/git-branch-script.txt b/Documentation/git-branch-script.txt
index fe9a041..3ace8ad 100644
--- a/Documentation/git-branch-script.txt
+++ b/Documentation/git-branch-script.txt
@@ -3,26 +3,27 @@ git-branch-script(1)
NAME
----
-git-branch-script - Some git command not yet documented.
-
+git-branch-script - Create a new branch.
SYNOPSIS
--------
-'git-branch-script' [ --option ] <args>...
+'git-branch-script' [<branchname> [start-point]]
DESCRIPTION
-----------
-Does something not yet documented.
+If no argument is provided, show available branches and mark current
+branch with star. Otherwise, create a new branch of name <branchname>.
+If a starting point is also specified, that will be where the branch is
+created, otherwise it will be created at the current HEAD.
OPTIONS
-------
---option::
- Some option not yet documented.
-
-<args>...::
- Some argument not yet documented.
+<branchname>::
+ The name of the branch to create.
+start-point::
+ Where to make the branch; defaults to HEAD.
Author
------