# 使用 Homebrew, apk, apt, dnf, Nix, pacman 安装 git-revise

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install git-revise
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add git-revise
```

  证据: Alpine Linux edge package indexes: git-revise from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install git-revise
```

  证据: Debian stable package indexes: git-revise from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install git-revise
```

  证据: Fedora Rawhide package metadata: git-revise 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-revise
```

  证据: nixpkgs package indexes: git-revise from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S git-revise
```

  证据: Arch Linux sync databases: git-revise from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:git-revise
- **软件包管理器:** Homebrew
- **版本:** 0.8.0
- **来源摘要:** Rebase alternative for easy & efficient in-memory rebases and fixups
- **主页:** <https://github.com/mystor/git-revise>
- **仓库:** <https://github.com/mystor/git-revise>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- git-revise (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

git-revise is a Git subcommand and Python library for updating, splitting, and rearranging commits without the heavier working-tree churn of many rebase workflows.

### 项目历史

The project appeared in 2018 under Nika Layzell's authorship and positioned itself as an ergonomic alternative to `git rebase` for patch-stack workflows. Its documentation emphasizes in-memory merges, preserving index and working-tree state, and avoiding unnecessary rebuilds on large codebases.

The changelog shows an incremental focus on history-editing ergonomics: interactive message editing, improved cut behavior, autosquash configuration, support for `git add --patch`, and manpage installation refinements.

### 采用历史

git-revise spread through Python packaging, Homebrew, and distribution packages for developers who wanted a faster fixup/split tool without replacing Git itself. Its adoption is strongest among users who frequently rewrite local patch series before sending them for review.

### 使用方式

Practitioners stage changes, run `git revise <target>` to fold those changes into an older commit, or use interactive and autosquash modes to edit a stack of unpublished commits. It is used beside `git rebase`, not as a full replacement for every history-rewriting case.

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

The package is notable because it treats Git object manipulation as a focused developer-experience problem. It packages an opinionated patch-stack workflow as a small subcommand while leaving the repository format and normal Git commands unchanged.

### 时间线

- 2018: GitHub repository created and documentation copyright begins.
- 0.4.0: Interactive editing and bulk commit-message editing improved.
- 0.5.0: `revise.autoSquash` configuration added.
- 0.6.0: `git add --patch` support and manpage installation changes added.
- 0.8.0: PyPI release series continued beyond the documented 0.6.0 manual.

### Related projects

- Related tools and workflows include `git rebase`, `git commit --fixup`, `git add --patch`, patch-stack review flows, and Git object-database libraries.

### 来源

- <https://github.com/mystor/git-revise>
- <https://pypi.org/project/git-revise/>
- <https://raw.githubusercontent.com/mystor/git-revise/master/CHANGELOG.md>
- <https://raw.githubusercontent.com/mystor/git-revise/master/README.md>
- <https://raw.githubusercontent.com/mystor/git-revise/master/docs/index.rst>
- <https://raw.githubusercontent.com/mystor/git-revise/master/docs/man.rst>


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Debian apt - git-revise - 0.7.0-1: normalized package name match | Debian stable package indexes: git-revise from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | handy git tool for doing efficient in-memory commit rebases & fixups | https://mystor.github.io/git-revise.html
- Nix - git-revise: normalized package name match | nixpkgs package indexes: git-revise from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - git-revise - 0.7.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: git-revise from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | handy git tool for doing efficient in-memory commit rebases & fixups | https://mystor.github.io/git-revise.html
- apk - git-revise - 0.7.0-r6: normalized package name match | Alpine Linux edge package indexes: git-revise from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Handy tool for doing efficient in-memory commit rebases & fixups with git | https://github.com/mystor/git-revise
- apk - git-revise-doc - 0.7.0-r6: normalized package name match | Alpine Linux edge package indexes: git-revise-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Handy tool for doing efficient in-memory commit rebases & fixups with git (documentation) | https://github.com/mystor/git-revise
- apk - git-revise-pyc - 0.7.0-r6: normalized package name match | Alpine Linux edge package indexes: git-revise-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for git-revise | https://github.com/mystor/git-revise
- dnf - git-revise - 0.7.0-19.fc45: normalized package name match | Fedora Rawhide package metadata: git-revise from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Efficiently update, split, and rearrange git commits | https://github.com/mystor/git-revise
- pacman - git-revise - 0.8.0-2: normalized package name match | Arch Linux sync databases: git-revise from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A git subcommand to efficiently update, split, and rearrange commits | https://mystor.github.io/git-revise.html


## Combined YAML source

View the package source record on GitHub. [combined/git-revise.yml](https://github.com/mxcl/pkgdb/blob/main/combined/git-revise.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
