Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2025.1

# Configure submit options

To control what happens to files in a changelist when you submit the changelist to the depot, set the `SubmitOptions` field. Valid settings are as follows.

Option | Description
--- | ---
`submitunchanged` | All open files (with or without changes) are submitted to the depot. This is the default behavior of P4 Server.
`submitunchanged+reopen` | All open files (with or without changes) are submitted to the depot, and all files are automatically reopened in the default changelist.
`revertunchanged` | Only those files with content, type, or resolved changes are submitted to the depot. Unchanged files are reverted.
`revertunchanged+reopen` | Only those files with content, type, or resolved changes are submitted to the depot and reopened in the default changelist. Unchanged files are reverted and not reopened in the default changelist.
`leaveunchanged` | Only those files with content, type, or resolved changes are submitted to the depot. Any unchanged files are moved to the default changelist.
`leaveunchanged+reopen` | Only those files with content, type, or resolved changes are submitted to the depot. Unchanged files are moved to the default changelist, and changed files are reopened in the default changelist. This option is similar to `submitunchanged+reopen`, except that no unchanged files are submitted to the depot.

Your search for returned results