Skip to contentSkip to conversation

Docs for git-checkout-script.

PATCH In review A Large Angry SCM 2 participants 4 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Docs for git-checkout-script.

---

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

ac5328903884c402905dd2a778ce51a00c041ffc

Documentation/git-checkout-script.txt +14 -9
@@ -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
 ------
#1 lore raw

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

Thanks.

#2 lore raw

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.

Quoted 2 lines · Junio C Hamano

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

#3 lore raw
Quoted 2 lines · A Large Angry SCM

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.