# Maiao：让 GitHub 拥有 Gerrit 式代码审查

Original title: Maiao: Gerrit-style code review workflow for GitHub, GitLab, Gitea, others

> Hacker News story 49441666 · language: zh · submitted 2026-08-25
> Web version: https://zeli.app/zh/story/49441666
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 114 · by [zdw](<https://news.ycombinator.com/user?id=zdw>) · 💬 73
[original](<https://github.com/runetes/maiao>) · [HN discussion](<https://news.ycombinator.com/item?id=49441666>)

## Summary

厌倦了在 GitHub 上处理冗长的 Pull Request 吗？Maiao 将 Gerrit 风格的堆叠式代码审查工作流带到了 GitHub、GitLab、Gitea 等多个平台。这款命令行工具能自动将大型功能拆分为独立的提交，每个提交生成一个 Pull Request 并自动建立父子依赖关系。它支持原生 GitHub Stacks 和 GitLab 自动检测堆栈，完美处理 fixup 提交和自动变基。无论是本地开发还是团队协作，Maiao 都能让你享受更细粒度的代码审查、更清晰的提交历史以及更流畅的合并体验，彻底告别混乱的 PR 管理。

## Key quote

> Maiao 将堆叠式 Pull Request 的强大功能带给你的 Git 托管提供商，让你能将大型功能拆分为小型、可审查的提交，其中每个提交都成为其独立的 Pull Request 或 Merge Request。

## HN discussion (73 comments)

### [andai](<https://news.ycombinator.com/item?id=49444783>)

> Maiao 基于 Gerrit
>
> Gerrit 是什么？（去查了一下）
>
> Gerrit 基于 Rietveld
>
> Rietveld 是什么？（又去查了一下）
>
> Rietveld 集成了 SVN
>
> https://xkcd.com/178/

### [ppljudge](<https://news.ycombinator.com/item?id=49444296>)

> 这听起来很有趣。此外，我希望社区能进化出提供 PR 反馈的新方式。其中一个 unintended consequence（非预期后果）是，它变成了一种让人剥削员工的手段。

### [Kinrany](<https://news.ycombinator.com/item?id=49443640>)

> 它和 jujutsu 兼容吗？

### [dolmen](<https://news.ycombinator.com/item?id=49443651>)

> 这个仓库似乎从

---

## Cite

- Page: https://zeli.app/zh/story/49441666
- Date: 2026-08-25
- Source: github.com (https://github.com/runetes/maiao)
- Hacker News: https://news.ycombinator.com/item?id=49441666

## Other languages

- en: https://zeli.app/story/49441666 · markdown: https://zeli.app/story/49441666.md
- ja: https://zeli.app/ja/story/49441666 · markdown: https://zeli.app/ja/story/49441666.md
- ko: https://zeli.app/ko/story/49441666 · markdown: https://zeli.app/ko/story/49441666.md
- de: https://zeli.app/de/story/49441666 · markdown: https://zeli.app/de/story/49441666.md
- es: https://zeli.app/es/story/49441666 · markdown: https://zeli.app/es/story/49441666.md
- ru: https://zeli.app/ru/story/49441666 · markdown: https://zeli.app/ru/story/49441666.md
