From: A Large Angry SCM Date: Wed, 7 Sep 2005 21:18:51 +0000 (-0400) Subject: [PATCH] Docs for git-reset-script. X-Git-Tag: v0.99.6~5 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f67545eade1913858346dba15ff613d3a5a6fbf5;p=git.git [PATCH] Docs for git-reset-script. Signed-off-by: A Large Angry SCM Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-reset-script.txt b/Documentation/git-reset-script.txt index 2c12f59e..18bd9e93 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 ] ... +'git-reset-script' [--mixed | --soft | --hard] [] 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. -...:: - Some argument not yet documented. +--hard:: + Matches the working tree and index to that of the tree being + switched to. +:: + Commit to make the current HEAD. Author ------