Cleanup The Cleanup command cleans up the working copy, removing stale locks. In the Projects or Files view, right-click on a file or directory. Select SCM > Cleanup.