# 使用 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/git-revise>
- **版本:** 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>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/b7/51/771e8ecd76847a6e822d40e070604eb3d916bf25f73b369417a9789103d5/git_revise-0.8.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- git-revise (cli)
- git-revise (别名)

## 依赖

- python@3.14

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8.0
- 本地数据: OK
- 上游仓库: https://github.com/mystor/git-revise
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** git-revise
- **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

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 相关链接

- [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.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [git-machete](https://pkg.so/zh-hans/brew/git-machete/) - Shares pkgdb curated category or tags: cli, developer-tools, git, rebase.
- [reposurgeon](https://pkg.so/zh-hans/brew/reposurgeon/) - Shares pkgdb curated category or tags: cli, developer-tools, git, history-editing.
- [git-imerge](https://pkg.so/zh-hans/brew/git-imerge/) - Shares pkgdb curated category or tags: cli, developer-tools, git, rebase.
- [gh](https://pkg.so/zh-hans/brew/gh/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [libgit2](https://pkg.so/zh-hans/brew/libgit2/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [glab](https://pkg.so/zh-hans/brew/glab/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [git-lfs](https://pkg.so/zh-hans/brew/git-lfs/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [lazygit](https://pkg.so/zh-hans/brew/lazygit/) - Shares pkgdb curated category or tags: cli, developer-tools, git.
- [git-big-picture](https://pkg.so/zh-hans/brew/git-big-picture/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, git, python.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
