p4 submit (graph)
Commit open files to the repo.
Syntax
p4 submit [-i -c changelistNumber -d desc --allow-empty] [--parallel=threads=N[,batch=N][,min=N]]
Description
Commits a pending changelistNumber
and its files to the repo, constructing a new commit and updating the current branch to refer to the new commit. By default, this command attempts to submit all files in the default
changelist. Submit displays a dialog where you enter a description of the change and, optionally, delete files from the list of files to be checked in. To add files to a changelist before submitting, use any of the commands that open client workspace files such as p4 add or p4 edit.
Options
--allow-empty
|
Permit submitting with no file changes. |
|
Submit the specified pending changelist instead of the default changelist. Additional changelists can be created manually, using the p4 change command, or automatically as the result of a failed attempt to submit the default changelist. The pending changelist is deleted during the submit process. The result of the submit is a new commit identified by its SHA-1. |
|
Immediately submit the default changelist with the
|
|
Read a changelist specification from the standard input. The user's editor is not invoked. |
|
Specify options for parallel file transfer. The configurable
See Parallel processing . |
Usage notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
No |
No |
|
Examples
p4 submit -d 'upgrade readme'
Change 6797 renamed 296fcac8ce99769c3d1bb28a3321c491ec9c81fc and submitted on //gd1/repo1.