Commits

A Large Angry SCM committed f67545e

[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>

  • Participants
  • Parent commits 0270f7c

Comments (0)

Files changed (1)

File Documentation/git-reset-script.txt

 
 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
 ------