# Git: Stash Changes Dialog Box

The Stash Changes dialog box enables you to temporarily save the current state of the working directory and the index and revert the working directory to match the HEAD commit.

The Stash Changes dialog box contains the following elements:

Element | Description
--- | ---
Stash Message | A message specified when temporarily recording your local modifications.
Include Uncommitted Changes | Select to temporarily save your local uncommitted modifications.

Use the buttons to perform the following tasks.

Element | Description
--- | ---
Stash Changes | Click this button to temporarily save your local modifications.
Shelve Changes | Click this button to temporarily save your not yet committed changes contained in the selected project, file, or folder into a patch file and revert the modified files in the working copy (the working copy gets clear of the local changes). The previously modified files become up to date.

Related Topics

Developing Applications with NetBeans IDE,

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