IntelliJ IDEA 14.1.0 Help

Shelf Tab

VCS | Show Changes View - Shelf
View | Tool Windows | Version Control - Shelf
Alt+9

The tab is added to the Version Control tool window when you shelve a change or a changelist, and is displayed until you permanently remove all shelved changes, including the already unshelved ones, and imported external patches.

By default, this tab shows all shelved changes that have not been unshelved yet. Changes are grouped into shelves. A shelf is a changelist created when you shelve changes. A shelf is identified by the commit message. You can have IntelliJ IDEA show the unshelved changes. They can be restored and re-applied as many times as necessary, until they are removed permanently.

For details, see Shelving and Unshelving Changes.

Context menu and toolbar

The context menu and the toolbar provide the same set of actions. The context menu is available by right-clicking a change, a change list, or anywhere in the tab.

ItemShortcutDescription
Unshelve Changes N/A Choose this option to apply all changes from the selected shelf. In the Unshelve Changes to Changelist dialog box box that opens, specify the changelist you want to add the changes to. For details, see Unshelving Changes.
Unshelve Ctrl+Shift+U Choose this option to select specific changes you want to unshelve instead of applying an entire shelf. In the Unshelve Changes to Changelist dialog box box that opens, specify the changes you want to apply, and the changelist you want to add these changes to. For details, see Unshelving Changes.
Restore N/A Choose this option to re-activate the unshelved changes. By default, unshelved changes are no longer shown in the list of available shelved changes, therefore you first need to have IntelliJ IDEA display it by choosing Show Already Unshelved. You can restore any change as many times as you need until the change is permanently removed by choosing Delete. For details, see Filtering Out and Removing Unshelved Changes and Restoring Unshelved Changes.
Show Diff
icon_showDiff
Ctrl+D Choose this option to open the Differences Viewer and compare the shelved version of a file with its current local version.
Create Patch
iconCreatePatch
N/A Choose this option to create a patch file based on a shelved change. In the Create Patch dialog box that opens, specify the file to save the patch in, and the changes to create a patch from. By default, all changes from the selected shelf are involved in the patch creation. To view which changes are included, click the Selected link.

For details, see Creating Patches.

Import Patches N/A Choose this option to apply patches created externally or through IntelliJ IDEA. In the dialog box that opens, choose the files to import patches from. The imported patches are treated as shelved changes and are shown in the Shelf tab of the Version Control tool window where you can unshelve them at any time.
Rename Shift+F6 Choose this option to modify the name of the selected shelved changelist.
Delete Delete Choose this option to permanently delete the selected shelved change. Tiy can remove any change no matter whether it has been already unshelved or not. For details, see Filtering Out and Removing Unshelved Changes.
Show Already Unshelved N/A Choose this option to have IntelliJ IDEA show all available shelved changes, both already applied and not. By default, unshelved changes are hidden. For details, see Filtering Out and Removing Unshelved Changes.
Delete All Already Unshelved N/A Choose this option to have IntelliJ IDEA permanently remove all shelved changes that have been already applied. For details, see Filtering Out and Removing Unshelved Changes.

See Also

Last modified: 14 July 2015