Git: Shelve Changes Dialog Box

The Shelve Changes dialog box enables you to temporarily set aside some not yet committed changes in a working directory as a patch file.

After a patch with all the modifications is created and shelved, the local, not yet committed, modifications are reverted in the working copy (i.e., the working copy gets clear of the local changes). The previously modified files become up to date.

To define the patch to be shelved, you need to specify the following options:

Element Description

Patch Name

Enter the name for a patch to be shelved.

Options

Specify the following shelving options:

Revert Uncommitted Changes in Index to HEAD

When selected, all local changes are reverted in the working copy.

Remove Newly Added Files and Folders

When selected, all newly added files and folders are deleted.

When you click Shelve, the IDE stashes away the not yet committed changes contained in the selected project, file, or folder into a patch file and reverts the modified files in the working copy.


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.