p4 delete (graph)

Delete an existing file from the repo.

Syntax conventions

p4 delete [-c changelistNumber] file ...

Description

Opens a repo file for deletion. If the file is synced in the client workspace, it is removed.

Options

-c changelistNumber

Opens the files for delete within the specified changelist.

If this option is not provided, the files are linked to the default changelist.

-n

Preview which files would be opened for delete, without actually changing any files or metadata.