# 使用 Homebrew 安装 git-integration

查看 git-integration 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:git-integration
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-integration
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:git-integration
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/git-integration>
- **版本:** 0.4
- **来源摘要:** Manage git integration branches
- **主页:** <https://johnkeeping.github.io/git-integration/>
- **仓库:** <https://github.com/johnkeeping/git-integration>
- **上游文档:** <https://johnkeeping.github.io/git-integration/>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://github.com/johnkeeping/git-integration/archive/refs/tags/v0.4.tar.gz>
- **最后更新:** 2026-06-18T09:25:51+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- git-integration (cli)
- git-integration (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.4
- 管理器更新时间: 2026-06-18
- 本地数据: OK
- 上游仓库: https://github.com/johnkeeping/git-integration
- 检测到的最新版本: v0.4 (当前)
## 项目历史与用法

git-integration is a small Git add-on for building and rebuilding integration branches from a base branch plus a list of topic branches. It treats the integration plan as an instruction sheet, so the tool fits Git users who want to test several in-progress branches together without pretending that those branches are ready to merge.

### 项目历史

John Keeping published the project as a public GitHub repository in 2013. The manual describes an integration branch as the result of merging several topic branches onto a base branch, with the branch rebuilt as the base or topics change.

The documentation evolved around instruction sheets stored under refs/insns, with commands for creating, editing, rebuilding, continuing, aborting, and showing status. Release notes for v0.2 added a disabled-instruction marker and a prefix option for sharing instruction sheets across machines; v0.4 added support for annotated tags as integration-branch bases.

### 采用历史

The project has remained a niche Git workflow tool rather than a broad platform. Its Homebrew formula and GitHub Pages documentation made it easy for macOS and Unix-like users to install, but its adoption story is mostly among users who already manage long-lived topic-branch integration flows.

### 使用方式

Practitioners use `git integration --create`, `--edit`, `--rebuild`, and `--status` to describe and refresh a synthetic branch containing multiple topic branches. The instruction sheet can include a base ref, merge instructions, comments that become merge-message text, and disabled instructions kept for later reference.

Because instruction sheets live in Git refs, teams can push and fetch them much like branches. That makes git-integration useful when an integrator wants to share a proposed integration queue without rewriting or merging the underlying topic branches.

### 为什么软件包爱好者会关心

For package and Git tooling enthusiasts, git-integration is notable because it models project state with Git's own ref namespace rather than an external database. It is part of the Unixy family of Git subcommands that compose with Git configuration, shell completion, reflogs, and plain-text manuals.

### 时间线

- 2013: Public GitHub repository created.
- v0.2: Added disabled instructions, prefix support, reflog cleanup, portability fixes, and documentation fixes.
- v0.4: Added annotated-tag support for integration-branch bases.

### Related projects

- git-integration sits near Git's rerere conflict-reuse mechanism and branch-stack tools such as git-machete. Unlike rebase-stack tools, it focuses on building a throwaway or shareable integration branch from independent topic branches.

### 来源

- <https://api.github.com/repos/johnkeeping/git-integration>
- <https://formulae.brew.sh/formula/git-integration>
- <https://github.com/johnkeeping/git-integration/blob/master/Documentation/description.txt>
- <https://github.com/johnkeeping/git-integration/blob/master/Documentation/git-integration.txt>
- <https://github.com/johnkeeping/git-integration/tree/master/Documentation/RelNotes>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-integration
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [git-town](https://pkg.so/zh-hans/brew/git-town/) - Shares pkgdb curated category or tags: branch-management, cli, developer-tools, git.
- [forgit](https://pkg.so/zh-hans/brew/forgit/) - Shares pkgdb curated category or tags: cli, developer-tools, git, shell.
- [git-machete](https://pkg.so/zh-hans/brew/git-machete/) - Shares pkgdb curated category or tags: branch-management, cli, developer-tools, git.
- [scmpuff](https://pkg.so/zh-hans/brew/scmpuff/) - Shares pkgdb curated category or tags: cli, developer-tools, git, shell.
- [git-delete-merged-branches](https://pkg.so/zh-hans/brew/git-delete-merged-branches/) - Shares pkgdb curated category or tags: branch-management, cli, developer-tools, git.
- [git-plus](https://pkg.so/zh-hans/brew/git-plus/) - Shares pkgdb curated category or tags: branch-management, cli, developer-tools, git.
- [semtag](https://pkg.so/zh-hans/brew/semtag/) - Shares pkgdb curated category or tags: cli, developer-tools, git, shell.
- [gh](https://pkg.so/zh-hans/brew/gh/) - Shares pkgdb curated category or tags: cli, developer-tools, git.

## Combined YAML source

View the package source record on GitHub. [combined/git-integration.yml](https://github.com/mxcl/pkgdb/blob/main/combined/git-integration.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
