p4 resubmit
Resolve and resubmit some or all unsubmitted changes.
For distributed version control only:
- You can issue this command directly to a commit server.
- You CANNOT issue this command directly to an edge server.
- See Using Helix Core Server for Distributed Versioning (DVCS).
Syntax
p4 [g-opts] resubmit -l
p4 [g-opts] [-R] resubmit -m
p4 [g-opts] [-R] resubmit -e
p4 [g-opts] [-R] resubmit -i [[-r remote] filespec ...]
Description
The p4 resubmit
command resubmits changes that have
been unsubmitted. Use this command to revise a set of changelists that you have:
- submitted locally
- not pushed to any other server
- have unsubmitted
This command has three modes:
automatic |
-m |
Syncs your workspace to #head and processes each conflicting change. For details, see -m under Options. |
partially interactive |
-e
|
Prepares the first (oldest) conflicting change, then exits. The files for the change are open in your workspace.
|
fully interactive | -i |
If a file path is also specified, this option unsubmits each change that modified a file in that path. If the -r flag is also specified, it names a remote spec. The mapping
in the remote spec limits the files affected by the
unsubmit operation. resubmit -i then processes each conflicting change. |
Options
|
Runs |
||||||||||||||||||||||||||||
|
Runs For each change, resubmit displays summary information about the change and prompts you to indicate which action to take:
|
||||||||||||||||||||||||||||
|
Lists all the unsubmitted changes but takes no action. This is useful as a way to preview the work that must be resubmitted. |
||||||||||||||||||||||||||||
|
If, for any change in the list, the
|
||||||||||||||||||||||||||||
|
When p4 resubmit -r rmt @>=17
This example affects only the files specific by the remote spec, not all files in the depot. |
||||||||||||||||||||||||||||
|
Resume the resubmit process once conflicts have been resolved. With this flag, resubmit begins by submitting the fully-resolved change and then proceeds to the next unsubmitted change. |
||||||||||||||||||||||||||||
|
When a filespec is provided with the |
Usage notes
Can File Arguments Use Revision Specifier? | Can File Arguments Use Revision Range? | Minimal Access Level Required |
---|---|---|
N/A |
N/A |
write, |
Examples
|
Merges and resubmits your unsubmitted changes. |
Related commands
To unsubmit submitted changelists |