Replay local history onto the target's new base.
For depots of type graph
only.
p4 graph rebase [-r ref ] [-f] --repo repo --target target source
Rebase moves the base of the target branch from its current location in the source to the source's HEAD. The source branch is not altered.
Rebase:
The target branch reference is updated to the last replayed commit.
Rebase requires force-push
permissions. (See Permissions)
If conflicts are detected when replaying the diffs, the rebase fails, and any intermediary commits will be orphaned.
If the common base cannot be found, the rebase fails.
|
Specifies the repo. |
|
Specifies the branch reference whose history would be changed by rebasing its local changes onto its new base. |
|
Allows an alternative reference to be updated which can be tested without having updated the target. |
|
Required if the |