GoLand 1.0 Help

Shelf Tab

View | Tool Windows | Version Control - Shelf

This 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 GoLand 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.

Toolbar

ItemTooltip and shortcutDescription
icon showDiff
Show Diff N/AChoose this option to open the Differences Viewer and compare the shelved version of a file with its current local version.
unshelve silently icon Unshelve Silently N/A Click this icon to unshelve changes silently, without displaying the Unshelve Changes dialog.
iconCreatePatch
Create PatchChoose this option to create a patch file based on shelved changes. 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 shelf are selected. To view which changes are included, click the Selected link.

For details, see Creating Patches.

show already unshelvedShow/Hide already unshelvedClick this button to have GoLand show or hide all available shelved changes, both already applied and not. Note that this button is duplicated on the context menu.
preview diff Preview Diff Click this icon to compare the shelved version of the selected file with its local version in the Preview pane.
clean unshelved changes Clean Already Unshelved Click this icon to explicitly remove all unshelved changes if you are not going to reuse them.
cogwheel blue no arrow Shelf Settings Click this icon to jump to the Shelf settings page where you can modify the default shelf location, and enable automatic shelving of base revisions of files for Git and Mercurial.

The context menu is available by right-clicking a change, a change list, or anywhere in the tab.

ItemShortcutDescription
unshelve
Unshelve
N/A Choose this option to apply changes from the selected shelf. In the Unshelve Changes dialog that opens, specify the changelist you want to add the changes to. For details, see Shelving and Unshelving Changes.
RestoreChoose 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 GoLand 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 Shelving and Unshelving Changes.
icon showDiff
Show Diff
N/A Choose this option to open the Differences Viewer and compare the shelved version of a file with its current local version.
compare with local
Compare with Local
Choose this option to compare the shelved version of the selected file with its local version in the Differences Viewer.
iconCreatePatch
Create Patch
Choose this option to create a patch file based on shelved changes. 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 shelf are selected. To view which changes are included, click the Selected link.

For details, see Creating Patches.

Import PatchesChoose this option to apply patches created externally or through GoLand. In the dialog that opens, choose the files to import patches from. The imported patches are treated as shelved changes and are shown in the Shelf tab where you can unshelve them at any time.
RenameN/AChoose this option to modify the name of the selected shelved changelist.
DeleteN/AChoose this option to permanently delete the selected shelved change. You can remove any change no matter whether it has been already unshelved or not. For details, see Shelving and Unshelving Changes.
Show Already UnshelvedChoose this option to have GoLand show all available shelved changes, both already applied and not. By default, unshelved changes are hidden. For details, see Shelving and Unshelving Changes.
clean unshelved changes
Clean Already Unshelved
Click this icon to explicitly remove all unshelved changes if you are not going to reuse them.
Last modified: 2 November 2017

See Also