Shelving checked-out files
To shelve checked-out files in a pending changelist:
-
Open the Shelve dialog by doing one of the following:
- Go to View > Pending Changelists. On the Pending dialog, right-click the changelist and select Shelve….
- In the Solution Explorer, right-click a file that is in a pending changelist and select Shelve….
- In the the Shelve dialog, select the files you want to shelve.
-
Select any of the following options that apply:
- Revert checked-out files after they are shelved: The files in your workspace will revert to the head revision in the depot.
- Clear changelist of all previously shelved files before shelving
- Click Shelve.
-
When prompted, enter a description and click OK.
P4VS shelves the file in the selected changelist or, if you are shelving files in the default changelist, creates a new changelist.