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 PyCharm 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.
|Item||Tooltip and shortcut||Description|
|Show Diff Ctrl+D||Choose this option to open the Differences Viewer for Files and compare the shelved version of a file with its current local version.|
|Create Patch||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.
|Show/Hide already unshelved||Click this button to have PyCharm show or hide all available shelved changes, both already applied and not. Note that this button is duplicated on the context menu.|
|Click this button the reveal the menu of actions described below.|
The context menu and the toolbar button provide the same set of actions. The context menu is available by right-clicking a change, a change list, or anywhere in the tab.
|Unshelve Changes||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 Shelving and 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 Shelving and Unshelving Changes.|
|Restore||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 PyCharm 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.|
|Import Patches||Choose this option to apply patches created externally or through PyCharm. 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 Shelving and Unshelving Changes.|
|Show Already Unshelved||Choose this option to have PyCharm show all available shelved changes, both already applied and not. By default, unshelved changes are hidden. For details, see Shelving and Unshelving Changes.|
|Delete All Already Unshelved||Choose this option to have PyCharm permanently remove all shelved changes that have been already applied. For details, see Shelving and Unshelving Changes.|