Git: Revert Modifications Dialog Box

The Revert Modifications dialog box enables you to throw away local changes made to selected files in your Working Tree and replace those files with the ones in the Index or HEAD.

In the Revert Modifications dialog box, select any of the following options:

Element Description

Revert All Uncommitted Changes in Working Tree and Index

Choose to delete all uncommitted changes and return to the state of files in HEAD.

Remove also New Files and Folders

Select to delete new files and folders that have not been committed to HEAD.
Revert Uncommitted Changes in Working Tree to the State in Index Revert Uncommitted Changes in Working Tree to the State in Index. Choose to delete uncommitted changes in Working Tree and return to the current state of files in Index.

Remove also New Files and Folders

Select to delete new files and folders that have not been committed to HEAD.
Revert only Uncommitted Changes in Index to HEAD Choose to delete uncommitted changes in Index and return to the state of files in HEAD.

After you click Revert, the IDE replaces the selected files with those you specified in the selected option.


Related Topics

Developing Applications with NetBeans IDE,

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements; and to You under the Apache License, Version 2.0.