Log dialog can revert selected files to parent revision
[TortoiseGit.git] / doc / source / en / TortoiseGit / tsvn_dug / dug_reset.xml
blob7028fc97e14dfc101fb1eacbc8c1ca31833aaffa
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!DOCTYPE sect1 SYSTEM "../../../dtd/dblite.dtd">\r
3 <sect1 id="tsvn-dug-reset">\r
4         <title>Reset</title>\r
5         <indexterm>\r
6                 <primary>Reset</primary>\r
7         </indexterm>\r
8         <?dbhh topicname="HIDD_RESET"?>\r
9         <para>\r
10                  Reset current HEAD to the specified state.\r
11                 Sets the current head to the specified commit and optionally resets the\r
12 index and working tree to match.\r
13                 <figure id="tsvn-dug-reset-dia-1">\r
14                         <title>The Reset dialog</title>\r
15                         <graphic fileref="../images/GitReset.png"/>\r
16                 </figure>\r
17         </para>\r
18         <para>\r
19                 You can click <guibutton>...</guibutton> to browse git log and choose a specific version. \r
20         </para>\r
21         <para>\r
22                 <guilabel>Soft: Leave working tree and index untouched</guilabel>\r
23                 Does not touch the index file nor the working tree at all (but resets the head to &lt;commit&gt;, just like all modes do). This leaves all your changed files "Changes to be committed", as git status would put it.\r
24         </para>\r
25         <para>\r
26                 <guilabel>Mixed: Leave working tree untouched, reset index</guilabel>\r
27                 Resets the index but not the working tree (i.e., the changed files are preserved but not marked for commit) and reports what has not been updated. This is the git default action.\r
28         </para>\r
29         <para>\r
30                 <guilabel>Hard: Reset working tree and index (discard all local changes)</guilabel>\r
31                 Resets the index and working tree. Any changes to tracked files in the working tree since &lt;commit&gt; are discarded.\r
32         </para>\r
33         <para>\r
34                 You can find more information at <xref linkend="git-reset(1)"/>\r
35         </para>\r
36 </sect1>\r