git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Docs for git-checkout-script.

From
A Large Angry SCM <gitzilla@gmail.com>
Date
Sep 7, 2005, 21:17 UTC
Message-ID
<431F58DE.2000904@gmail.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
 ------
Next: Junio C Hamano
Message 1 of 4 in “Docs for git-checkout-script.”
  1. Docs for git-checkout-script.A Large Angry SCM, Sep 7, 2005
  2. Junio C HamanoSep 7, 2005
  3. A Large Angry SCMSep 7, 2005
  4. Junio C HamanoSep 7, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.