threads / patch / 1744

patchDocs for git-checkout-script.

Subject: [PATCH] Docs for git-checkout-script.

## tl;dr

4 messages between Sep 7, 2005 and Sep 7, 2005. Diffs are folded; open one to read it.

replies: 3people: 2as markdown or json

A Large Angry SCM· Sep 7, 2005, 21:17 UTC · lore
Signed-off-by: A Large Angry SCM <gitzilla@gmail.com>
---
 Documentation/git-checkout-script.txt |   23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)
ac5328903884c402905dd2a778ce51a00c041ffc
Show changes to Documentation/git-checkout-script.txt +14 −8
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
 ------
A Large Angry SCM· Sep 7, 2005, 21:34 UTC · re: Junio C Hamano · lore

Re: [PATCH] Docs for git-checkout-script.

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· Sep 7, 2005, 22:26 UTC · re: A Large Angry SCM · lore

Re: [PATCH] Docs for git-checkout-script.

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.

← back to recent threads