Shelving Operations in P4V
Toshi Dávila avatar
Written by Toshi Dávila
Updated over a week ago

Shelving in Perforce allows users to store and share file snapshots on the central server. This can be useful for allowing others to review your work, moving your progress to another workspace, validating builds on multiple platforms, and preserving your work so that you can work on another project. 

It’s important to remember that shelving is not a check-in. The files stored will not have any version history associated with them because the shelf is just a temporary place to keep a file.

How do I shelve my files?

To shelve your files, right click the changelist and choose Shelve to display the Shelve dialog. 

Because there is no shelf for the default changelist, you will need to enter a description for a new pending changelist to shelve files if you are shelving from the default changelist.

You can shelve a more recent version of a file already on a shelf by simply replacing the currently shelved version with the changed version. Select the file, right click, and select Shelve to overwrite the previous version.

To unshelve files, select the changelist containing the shelved files, right-click, and select Unshelve Files. A dialog box will appear with destinations to unshelve the files among other things. On the other hand, you could unshelve the files simply by dragging them back to the desired changelist. The workspace will be restored to its original state, and you can resume work where you left off.

 Have questions? Email us





Did this answer your question?