Skip to main content

Synopsis

Assert an Azure DevOps pull request for a git commit exists.
The command exits with non-zero exit code if no pull requests were found for the commit. No local git repository is needed: --commit is looked up through the git provider’s API. Outside a supported CI, set --commit to a full commit SHA: its HEAD default is not read from your local checkout.

Flags

Flags inherited from parent commands

Examples Use Cases

These examples all assume that the flags --api-token, --org, --host, (and --flow, --trail when required), are set/provided.
Last modified on October 15, 2026