# 使用 Homebrew, dnf, Nix 安装 git-octopus

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-octopus
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install git-octopus
```

  证据: Fedora Rawhide package metadata: git-octopus from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#git-octopus
```

  证据: nixpkgs package indexes: pkgs/by-name/gi/git-octopus/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:git-octopus
- **软件包管理器:** Homebrew
- **版本:** 1.4
- **来源摘要:** Continuous merge workflow
- **主页:** <https://github.com/lesfurets/git-octopus>
- **仓库:** <https://github.com/lesfurets/git-octopus>
- **最后更新:** 2026-05-19T07:47:35-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- git-apply-conflict-resolution (别名)
- git-conflict (别名)
- git-octopus (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.4
## 项目历史与用法

git-octopus is a Git extension for a continuous merge workflow based on feature branches. It adds git octopus for pattern-based multi-branch merges and git conflict for recording conflict resolutions that can be reused.

### 项目历史

LesFurets published the repository on GitHub in 2014 and described the project as an attempt to reconcile feature branching with continuous integration and delivery. The first GitHub release, v1.0, appeared in 2015, followed by releases that added conflict-resolution support, documentation improvements, and chunk-mode changes.

### 采用历史

Compared with the single-purpose Git helpers in this batch, git-octopus had a broader process pitch: its README describes CI jobs that merge all feature branches with the mainline and force-push the assembled result to an octopus branch for build and deployment. Packaging reached Homebrew, Fedora/RHEL-style RPM instructions, and Nix, which signals use beyond a private script.

### 使用方式

Teams use git-octopus to continuously build an integration branch made from many feature branches without making that merge part of long-lived history. When merges fail, git conflict can diagnose conflict pairs and store standard Git refs containing recorded resolutions that can be fetched and pushed.

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

The package matters to Git workflow enthusiasts because it turns Git's native octopus-merge idea into a CI/CD convention with installable commands, manpage-style documentation, release notes, and distribution packaging. It also documents a concrete branch policy: keep the mainline ready to ship, isolate work on small branches, and continuously test their combined result.

### 时间线

- 2014: Repository was created on GitHub.
- 2015: v1.0 was released.
- 2015: v1.1 introduced a first step toward conflict resolution.
- 2016: v1.4 was released and RPM packaging notes documented version 1.4 packaging.
- 2017: v2.0 beta releases marked a Go rewrite.

### Related projects

- git merge
- continuous integration systems
- feature-branch workflows

### 来源

- <https://formulae.brew.sh/formula/git-octopus>
- <https://github.com/lesfurets/git-octopus>
- <https://lesfurets.github.io/git-octopus/doc/git-conflict.html>
- <https://lesfurets.github.io/git-octopus/doc/git-octopus.html>
- <https://raw.githubusercontent.com/lesfurets/git-octopus/master/README.md>
- <https://raw.githubusercontent.com/lesfurets/git-octopus/master/RELEASE.md>


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- Nix - git-octopus: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-octopus/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - git-octopus - 2.0-0.4.beta.3.fc45.28: normalized package name match | Fedora Rawhide package metadata: git-octopus from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Git commands for continuous delivery | https://github.com/lesfurets/git-octopus


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
