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

[PATCH] Docs for git-reset-script.

From
A Large Angry SCM <gitzilla@gmail.com>
Date
Sep 7, 2005, 21:18 UTC
Message-ID
<431F593B.5090909@gmail.com>
Signed-off-by: A Large Angry SCM <gitzilla@gmail.com>
---
 Documentation/git-reset-script.txt |   27 +++++++++++++++++----------
 1 files changed, 17 insertions(+), 10 deletions(-)
e6c59b4622ab3eac9c4a74cd1571136ab586ac5a
diff --git a/Documentation/git-reset-script.txt b/Documentation/git-reset-script.txt
--- a/Documentation/git-reset-script.txt
+++ b/Documentation/git-reset-script.txt
@@ -3,26 +3,33 @@ git-reset-script(1)
 
 NAME
 ----
-git-reset-script - Some git command not yet documented.
-
+git-reset-script - Reset current HEAD to the specified state.
 
 SYNOPSIS
 --------
-'git-reset-script' [ --option ] <args>...
+'git-reset-script' [--mixed | --soft | --hard] [<commit-ish>]
 
 DESCRIPTION
 -----------
-Does something not yet documented.
-
+Sets the current head to the specified commit and optionally resets the
+index and working tree to match.
 
 OPTIONS
 -------
---option::
-	Some option not yet documented.
-
-<args>...::
-	Some argument not yet documented.
+--mixed::
+	Like --soft but reports what has not been updated. This is the
+	default action.
+
+--soft::
+	Does not touch the index file nor the working tree at all, but
+	requires them in a good order.
+
+--hard::
+	Matches the working tree and index to that of the tree being
+	switched to.
 
+<commit-ish>::
+	Commit to make the current HEAD.
 
 Author
 ------
Message 1 of 1 in “Docs for git-reset-script.”
  1. Docs for git-reset-script.A Large Angry SCM, Sep 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.