Commit open files to the repo.
p4 submit [-i -c changelistNumber -d desc --allow-empty]
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.
--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. |
p4 submit -d 'upgrade readme'
Change 6797 renamed 296fcac8ce99769c3d1bb28a3321c491ec9c81fc and submitted on //gd1/repo1.