To clean up the file system objects that are not under control of Helix Server or to restore workspace files to match the state of corresponding depot files, you can select the Clean option on a folder.
Changes performed by the Clean option are permanent. You cannot revert this operation.
To clean files and folders:
Select a folder and click Actions > Clean, or right-click a folder and select Clean.
If there are files that need to be cleaned up, the Clean Workspace (Revert to Depot) dialog appears.
P4V compares your workspace to the depot and lists the following files:
By default, files and directories listed in P4IGNORE
files are excluded from cleanup and remain unaffected. If you do want to include such files, clear the Apply P4IGNORE files for this workspace check box.
In this case, P4V compares your workspace to the depot again and then also lists applicable files that were previously excluded in the respective section.