# [PATCH] Docs for git-checkout-script.

4 messages from 2005-09-07 to 2005-09-07. Participants: A Large Angry SCM, Junio C Hamano.
Thread: https://gitlist.dev/t/1744

## A Large Angry SCM, 2005-09-07 21:17

Subject: [PATCH] Docs for git-checkout-script.
Message-ID: <431F58DE.2000904@gmail.com>
URL: https://gitlist.dev/e/431F58DE.2000904%40gmail.com

```

Signed-off-by: A Large Angry SCM <gitzilla@gmail.com>


---

 Documentation/git-checkout-script.txt |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

ac5328903884c402905dd2a778ce51a00c041ffc
diff --git a/Documentation/git-checkout-script.txt b/Documentation/git-checkout-script.txt
--- 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
 ------

```

## Junio C Hamano, 2005-09-07 21:23

Subject: Re: [PATCH] Docs for git-checkout-script.
Message-ID: <7v3bog6082.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7v3bog6082.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <431F58DE.2000904@gmail.com>

```
You read my mind.  I just finished documenting some other
commands and was about to push things out.

Thanks.

```

## A Large Angry SCM, 2005-09-07 21:34

Subject: Re: [PATCH] Docs for git-checkout-script.
Message-ID: <431F5CE3.4000608@gmail.com>
URL: https://gitlist.dev/e/431F5CE3.4000608%40gmail.com
In-Reply-To: <7v3bog6082.fsf@assigned-by-dhcp.cox.net>

```
Actually, I'm cherry-picking the easier ones in an effort to reduce my 
stress about my impending move to the LA area.

Hopefully you did git-diff-script, git-format-patch-script, and 
git-rev-parse which don't look easy to document.

Junio C Hamano wrote:
> You read my mind.  I just finished documenting some other
> commands and was about to push things out.

```

## Junio C Hamano, 2005-09-07 22:26

Subject: Re: [PATCH] Docs for git-checkout-script.
Message-ID: <7v64tc4iq8.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7v64tc4iq8.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <431F5CE3.4000608@gmail.com>

```
A Large Angry SCM <gitzilla@gmail.com> writes:

> Hopefully you did git-diff-script, git-format-patch-script, and 
> git-rev-parse which don't look easy to document.

Not yet and not likely be in 0.99.6 but immediately after.

```
