summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorA Large Angry SCM <gitzilla@gmail.com>2005-09-07 17:18:51 -0400
committerJunio C Hamano <junkio@cox.net>2005-09-07 14:24:41 -0700
commitf67545eade1913858346dba15ff613d3a5a6fbf5 (patch)
treeff71df7b66dac85040deede09c7f358d164a0c8c /Documentation
parent0270f7c500cf1645e7102cbe4ddd32cbcaf5f8a9 (diff)
downloadgit-f67545eade1913858346dba15ff613d3a5a6fbf5.tar.gz
[PATCH] Docs for git-reset-script.
Signed-off-by: A Large Angry SCM <gitzilla@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-reset-script.txt25
1 files changed, 16 insertions, 9 deletions
diff --git a/Documentation/git-reset-script.txt b/Documentation/git-reset-script.txt
index 2c12f59e96..18bd9e93d5 100644
--- 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.
+--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.
-<args>...::
- Some argument not yet documented.
+--hard::
+ Matches the working tree and index to that of the tree being
+ switched to.
+<commit-ish>::
+ Commit to make the current HEAD.
Author
------