Home / Companies / Mergify / Blog / Post Details
Content Deep Dive

How we built stacked PRs without a new git workflow

Blog post from Mergify

Post Details
Company
Date Published
Author
-
Word Count
1,984
Company Posts That Month
16
Language
English
Hacker News Points
-
Post removed?
No
Summary

Julien Danjou's blog post describes the creation of Mergify Stacks, a tool designed to facilitate the use of stacked pull requests (PRs) without requiring engineers to adopt a new git workflow. The tool simplifies the process of managing PRs by maintaining a single local branch and using a stable Change-Id pattern inspired by Gerrit to track changes across rebases, without modifying GitHub or replacing git itself. This approach contrasts with other tools like Graphite and GitHub's gh-stack, which rely on a branch-per-PR model and can complicate the workflow with a tree of branches. Mergify Stacks enables developers to maintain a linear view of their git history while allowing individual adoption without organizational changes. It also offers an unexpected advantage for AI-driven coding agents by making large, complex PRs more manageable and reviewable through smaller, distinct commits. The tool is open-source, and its CLI is available on GitHub, allowing users to integrate it into their workflow with minimal setup.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
AI Agents 1 6,005 1,359 264 +22%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.