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: |
Back up any Locally Modified files to <file>.orig |
When selected, all local changes are stored in a <file>.orig file directly 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,
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |