Skip to content

Mergifyio/mergify-cli

Repository files navigation

Mergify CLI

Mergify CLI is a tool that automates the creation and management of stacked pull requests on GitHub as well as handling CI results upload.

Features

Stacked Pull Requests

Create and manage stacked pull requests to break down large changes into smaller, reviewable pieces. Learn more in the documentation.

CI Insights

Upload and analyze CI results to get better visibility into your CI pipeline. Learn more about CI Insights in the documentation.

Scheduled Freezes

Create and manage scheduled freezes to temporarily halt merging of pull requests matching specific conditions.

Installation

pip install mergify-cli

Usage

# Show available commands
mergify --help

# Manage stacked pull requests
mergify stack --help
mergify stack push                    # Push and create/update stacked PRs
mergify stack checkout my-feature     # Checkout an existing stack from GitHub

# Upload CI results
mergify ci --help

# Manage scheduled freezes
mergify freeze --help

AI Agent Skills

Mergify CLI provides AI skills for managing stacked PRs and Git workflows, compatible with Claude Code, Cursor, and many other AI agents.

Install via npx (all agents)

npx skills add Mergifyio/mergify-cli

Install as a Claude Code plugin

/plugin marketplace add Mergifyio/mergify-cli
/plugin install mergify

Contributing

We welcome and appreciate contributions from the open-source community to make this project better. Whether you're a developer, designer, tester, or just someone with a good idea, we encourage you to get involved.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

About

Mergify CLI tool

Resources

License

Stars

Watchers

Forks

Contributors