CmdID

CmdID / az / az repos / az repos pr

az repos pr create

Create a pull request. Azure CLI extensions reference

20 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

20 in the Azure CLI extensions reference
--auto-completeSet the pull request to complete automatically when all policies have passed and the source branch can be merged into the target branch.
--bypass-policy-reasonReason for bypassing the required policies.
--bypass-policyBypass required policies (if any) and completes the pull request once it can be merged.
--delete-source-branchDelete the source branch after the pull request has been completed and merged into the target branch.
--descriptionDescription for the new pull request.
--draftUse this flag to create the pull request in draft/work in progress mode.
--labelsThe labels associated with the pull request.
--merge-commit-messageMessage displayed when commits are merged.
--openOpen the pull request in your web browser.
--optional-reviewersAdditional users or groups to include as optional reviewers on the new pull request.
--projectName or ID of the team project.
--repositoryName or ID of the repository to create the pull request in.
--required-reviewersAdditional users or groups to include as required reviewers on the new pull request.
--reviewers
--source-branchName of the source branch.
--squashSquash the commits in the source branch when merging into the target branch.
--target-branchName of the target branch.
--titleTitle for the new pull request.
--transition-work-itemsTransition any work items linked to the pull request into the next logical state.
--work-itemsIDs of the work items to link to the new pull request.