Changing a File's Type

Perforce file types determine how a file is stored in the depot and synced to the workspace, and whether it can be diffed.

To change a file's Perforce file type (or other storage attributes):

  1. Context-click the desired file and choose Check Out.

    The file is checked out.

  2. Context-click the file and choose Change Filetype....

    The Change Filetype dialog is displayed.

  3. Set the desired type and attributes and click OK to dismiss the dialog.

  4. Submit the changelist containing the file.

For details about file types and attributes, see the Perforce Command Reference, "File Types".