Documentation / git-reset.txton commit Merge branch 'fixes' (f865a2a)
   1git-reset(1)
   2============
   3
   4NAME
   5----
   6git-reset - Reset current HEAD to the specified state.
   7
   8SYNOPSIS
   9--------
  10'git-reset' [--mixed | --soft | --hard] [<commit-ish>]
  11
  12DESCRIPTION
  13-----------
  14Sets the current head to the specified commit and optionally resets the
  15index and working tree to match.
  16
  17OPTIONS
  18-------
  19--mixed::
  20        Like --soft but reports what has not been updated. This is the
  21        default action.
  22
  23--soft::
  24        Does not touch the index file nor the working tree at all, but
  25        requires them in a good order.
  26
  27--hard::
  28        Matches the working tree and index to that of the tree being
  29        switched to.
  30
  31<commit-ish>::
  32        Commit to make the current HEAD.
  33
  34Author
  35------
  36Written by Junio C Hamano <junkio@cox.net> and Linus Torvalds <torvalds@osdl.org>
  37
  38Documentation
  39--------------
  40Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
  41
  42GIT
  43---
  44Part of the gitlink:git[7] suite
  45