CLI Reference
Manage Mergify from your terminal and your CI pipelines.
mergify
v2026.6.18.1
The Mergify CLI brings the merge queue, stacked pull requests, and CI
Insights to your terminal and your pipelines. It reuses your existing
gh login, so most commands work the moment it's installed.
New to the CLI? Install it and set up authentication.
Merge Queue
4 commandsPause, unpause, and inspect the merge queue from scripts and incident runbooks.
Stacked Pull Requests
16 commandsCreate, reorder, sync, and push stacked pull requests entirely from git.
CI Insights
6 commandsSend JUnit results and pull request scopes from any CI provider into Mergify.
Test Health
5 commandsLook up test health by name and manage the flaky-test quarantine.
Scheduled Freezes
4 commandsSchedule and manage merge freezes for release windows and maintenance.
Configuration
2 commandsValidate your Mergify configuration and simulate actions before you merge.
Maintenance
1 commandUpdate the Mergify CLI to the latest release.
Was this page helpful?
Thanks for your feedback!