aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA Large Angry SCM <gitzilla@gmail.com>2005-09-07 17:17:18 -0400
committerJunio C Hamano <junkio@cox.net>2005-09-07 14:24:39 -0700
commit0270f7c500cf1645e7102cbe4ddd32cbcaf5f8a9 (patch)
treec67d8fb6965580bf42d8872a5bbafd28a2d3dc92
parent5077fa9c1e3af760dd3573ac94be6cb27ad74849 (diff)
downloadgit-0270f7c500cf1645e7102cbe4ddd32cbcaf5f8a9.tar.gz
git-0270f7c500cf1645e7102cbe4ddd32cbcaf5f8a9.tar.xz
[PATCH] Docs for git-checkout-script.
Signed-off-by: A Large Angry SCM <gitzilla@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Documentation/git-checkout-script.txt23
1 files changed, 14 insertions, 9 deletions
diff --git a/Documentation/git-checkout-script.txt b/Documentation/git-checkout-script.txt
index ca469ece7..52831abd1 100644
--- a/Documentation/git-checkout-script.txt
+++ b/Documentation/git-checkout-script.txt
@@ -3,26 +3,31 @@ git-checkout-script(1)
NAME
----
-git-checkout-script - Some git command not yet documented.
-
+git-checkout-script - Checkout and switch to a branch.
SYNOPSIS
--------
-'git-checkout-script' [ --option ] <args>...
+'git-checkout-script' [-f] [-b <new_branch>] [<branch>]
DESCRIPTION
-----------
-Does something not yet documented.
-
+Updates the index and working tree to reflect the specified branch,
+<branch>. Updates HEAD to be <branch> or, if specified, <new_branch>.
OPTIONS
-------
---option::
- Some option not yet documented.
+-f::
+ Force an re-read of everything.
+
+-b::
+ Create a new branch and start it at <branch>.
-<args>...::
- Some argument not yet documented.
+<new_branch>::
+ Name for the new branch.
+<branch>::
+ Branch to checkout; may be any object ID that resolves to a
+ commit. Defaults to HEAD.
Author
------