# Git: Reset Dialog Box

The Git Reset dialog box enables you to cancel changes and bring your repository back to a particular commit.

In the Git Reset dialog box, specify the following options:

Element | Description
--- | ---
Revision | Specify the required revision by entering a commit ID, existing branch, or tag name in the Revision field or click Select to view the list of revisions maintained in the repository. The following fields display information specific to the selected revision:
Commit ID: | A unique identifier of the specified revision.
Author: | A unique identifier of the specified revision.
Message: | A message specified during the commit of the revision.
Options | Choose any of the reset modes below:
Do Not Modify Index or Working Tree (--soft) | Select to move HEAD to the specified commit and leave all changes in Index and Working Tree.
Modify Working Tree (--mixed) | Select to overwrite all changes in Index and leave changes in Working Tree.
Update Index and Working Tree (--hard) | Select to overwrite all changes that are made in your Index and Working Tree.

After you click Reset, the IDE discards changes in accordance with the selected option.

Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2015, Oracle and/or its affiliates. All rights reserved.