CmdID / az / az repos / az repos pr
az repos pr checkout
Checkout the PR source branch locally, if no local changes are present Azure CLI extensions reference
2 options Its page in the Azure CLI extensions reference
Options
--idID of the pull request.--remote-nameName of git remote against which PR is raised