Big tool rename.
[git.git] / Documentation / git-reset.txt
1 git-reset(1)
2 ============
3
4 NAME
5 ----
6 git-reset - Reset current HEAD to the specified state.
7
8 SYNOPSIS
9 --------
10 'git-reset' [--mixed | --soft | --hard] [<commit-ish>]
11
12 DESCRIPTION
13 -----------
14 Sets the current head to the specified commit and optionally resets the
15 index and working tree to match.
16
17 OPTIONS
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
34 Author
35 ------
36 Written by Junio C Hamano <junkio@cox.net> and Linus Torvalds <torvalds@osdl.org>
37
38 Documentation
39 --------------
40 Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
41
42 GIT
43 ---
44 Part of the link:git.html[git] suite
45