[PATCH] Docs for git-checkout-script.
authorA Large Angry SCM <gitzilla@gmail.com>
Wed, 7 Sep 2005 21:17:18 +0000 (17:17 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 7 Sep 2005 21:24:39 +0000 (14:24 -0700)
Signed-off-by: A Large Angry SCM <gitzilla@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-checkout-script.txt

index ca469ec..52831ab 100644 (file)
@@ -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
 ------