# Install git-absorb with Homebrew, apk, apt, MacPorts, Nix, pacman, scoop, winget, zypper

Automatic git commit --fixup. Version 0.9.0 via Homebrew; verified 2026-06-22.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install git-absorb
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install git-absorb
```

  Evidence: MacPorts ports tree: devel/git-absorb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add git-absorb
```

  Evidence: Alpine Linux edge package indexes: git-absorb from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install git-absorb
```

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

- Nix (92%):

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

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

- pacman (92%):

```sh
sudo pacman -S git-absorb
```

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

- zypper (92%):

```sh
sudo zypper install git-absorb
```

  Evidence: openSUSE Tumbleweed package metadata: git-absorb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/git-absorb
```

  Evidence: Scoop official bucket manifest trees: bucket/git-absorb.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id tummychow.git-absorb -e
```

  Evidence: Windows Package Manager source index: tummychow.git-absorb from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:git-absorb
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/git-absorb>
- **Version:** 0.9.0
- **Source summary:** Automatic git commit --fixup
- **Homepage:** <https://github.com/tummychow/git-absorb>
- **Repository:** <https://github.com/tummychow/git-absorb>
- **Upstream docs:** <https://github.com/jrbasso/gistit#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/tummychow/git-absorb/archive/refs/tags/0.9.0.tar.gz>
- **Last updated:** 2026-06-22T14:03:30-07:00
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- git-absorb (cli)
- git-absorb (alias)

## Dependencies

- libgit2

## Build dependencies

- asciidoctor
- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 0.9.0
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/tummychow/git-absorb
- Upstream latest detected: 0.9.0 (current)
## Project history and usage

git-absorb is a Rust command-line tool that creates fixup commits automatically by matching staged hunks to earlier commits in a feature branch. It brings an hg absorb-style review workflow to Git.

### Project history

The project began in February 2018 as a port of Facebook's hg absorb idea. The README cites a Mozilla version-control discussion that described automatically folding review feedback into the draft changesets that introduced the touched lines.

git-absorb translated that workflow into Git by producing fixup! commits that can be consumed by git rebase --autosquash, or by running the rebase itself with --and-rebase. Its documentation explains the core algorithm in terms of whether patches commute, using that test to infer which earlier commit a staged hunk belongs to.

The release history moved from rapid 0.1 and 0.2 tags in March 2018 through later 0.x releases, with 0.9.0 tagged in February 2026. The Cargo manifest identifies the package as a Rust binary named git-absorb and describes it as automatic git commit --fixup.

### Adoption history

git-absorb gained adoption among developers who maintain atomic commit stacks and want review fixes placed into the right commits before merge. The README lists packaging across Arch Linux, Debian, Fedora, FreeBSD, Homebrew, MacPorts, nixpkgs, openSUSE, Ubuntu, Void Linux, GNU Guix, and Windows Package Manager, and crates.io provides a Rust installation path through cargo install.

### How it is used

Practitioners stage review fixes with git add, run git absorb, inspect the generated fixup commits, and then use git rebase -i --autosquash to fold them into the original commits. Users who trust the result can run git absorb --and-rebase, while recovery is documented through PRE_ABSORB_HEAD and the reflog.

### Why package nerds care

git-absorb is package-relevant because it is a Git subcommand whose usefulness depends on being easy to install across developer machines. It also illustrates the package-manager spread of Rust CLI tools that wrap Git workflows without requiring users to adopt a new VCS.

### Timeline

- 2018: Repository initialized and 0.1.0 tagged.
- 2019: 0.4.0 and 0.5.0 tags followed after wider workflow hardening.
- 2025: 0.7.0 and 0.8.0 tags appeared.
- 2026: 0.9.0 was tagged.

### Related projects

- git-absorb is directly related to Facebook's hg absorb, Mercurial's history-editing workflow, Git's fixup commits, and Git's autosquash rebase mode.

### Sources

- <https://crates.io/api/v1/crates/git-absorb>
- <https://crates.io/crates/git-absorb>
- <https://github.com/tummychow/git-absorb>
- <https://github.com/tummychow/git-absorb/blob/master/Cargo.toml>
- <https://github.com/tummychow/git-absorb/blob/master/Documentation/git-absorb.adoc>
- <https://github.com/tummychow/git-absorb/blob/master/README.md>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - git-absorb - 0.6.17-2+b2: normalized package name match | Debian stable package indexes: git-absorb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Git commit --fixup, but automatic | https://github.com/tummychow/git-absorb
- Nix - git-absorb: normalized package name match | nixpkgs package indexes: pkgs/by-name/gi/git-absorb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - git-absorb - 0.6.11-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: git-absorb from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Git commit --fixup, but automatic | https://github.com/tummychow/git-absorb
- apk - git-absorb - 0.9.0-r0: normalized package name match | Alpine Linux edge package indexes: git-absorb from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Automatically write fixup! commits, similar to hg absort | https://github.com/tummychow/git-absorb
- apk - git-absorb-bash-completion - 0.9.0-r0: normalized package name match | Alpine Linux edge package indexes: git-absorb-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for git-absorb | https://github.com/tummychow/git-absorb
- apk - git-absorb-doc - 0.9.0-r0: normalized package name match | Alpine Linux edge package indexes: git-absorb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Automatically write fixup! commits, similar to hg absort (documentation) | https://github.com/tummychow/git-absorb
- apk - git-absorb-fish-completion - 0.9.0-r0: normalized package name match | Alpine Linux edge package indexes: git-absorb-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for git-absorb | https://github.com/tummychow/git-absorb
- apk - git-absorb-zsh-completion - 0.9.0-r0: normalized package name match | Alpine Linux edge package indexes: git-absorb-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for git-absorb | https://github.com/tummychow/git-absorb
- pacman - git-absorb - 0.9.0-2: normalized package name match | Arch Linux sync databases: git-absorb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | git commit --fixup, but automatic | https://github.com/tummychow/git-absorb
- zypper - git-absorb - 0.6.17-1.4: normalized package name match | openSUSE Tumbleweed package metadata: git-absorb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | git commit --fixup, but automatic | https://github.com/tummychow/git-absorb
- zypper - git-absorb-bash-completion - 0.6.17-1.4: normalized package name match | openSUSE Tumbleweed package metadata: git-absorb-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash Completion for git-absorb | https://github.com/tummychow/git-absorb
- zypper - git-absorb-fish-completion - 0.6.17-1.4: normalized package name match | openSUSE Tumbleweed package metadata: git-absorb-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fish Completion for git-absorb | https://github.com/tummychow/git-absorb
- zypper - git-absorb-nushell-completion - 0.6.17-1.4: normalized package name match | openSUSE Tumbleweed package metadata: git-absorb-nushell-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Nushell Completion for git-absorb | https://github.com/tummychow/git-absorb
- zypper - git-absorb-zsh-completion - 0.6.17-1.4: normalized package name match | openSUSE Tumbleweed package metadata: git-absorb-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | ZSH Completion for git-absorb | https://github.com/tummychow/git-absorb
- MacPorts - git-absorb: normalized package name match | MacPorts ports tree: devel/git-absorb/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/git-absorb: normalized package name match | Scoop official bucket manifest trees: bucket/git-absorb.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [libgit2](https://www.automicvault.com/pkg/brew/libgit2/) - Runtime dependency declared by Homebrew.
- [asciidoctor](https://www.automicvault.com/pkg/brew/asciidoctor/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [gist](https://www.automicvault.com/pkg/brew/gist/) - Shares av.db curated category or tags: cli, code-sharing, developer-tools.
- [fzf-make](https://www.automicvault.com/pkg/brew/fzf-make/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [halp](https://www.automicvault.com/pkg/brew/halp/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [plz-cli](https://www.automicvault.com/pkg/brew/plz-cli/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [release-it](https://www.automicvault.com/pkg/brew/release-it/) - Shares av.db curated category or tags: cli, developer-tools, git.
- [sqlx-cli](https://www.automicvault.com/pkg/brew/sqlx-cli/) - Shares av.db curated category or tags: cli, developer-tools, rust.
- [committed](https://www.automicvault.com/pkg/brew/committed/) - Shares av.db curated category or tags: cli, developer-tools, git, rust.
- [garden](https://www.automicvault.com/pkg/brew/garden/) - Shares av.db curated category or tags: cli, developer-tools, git, rust.
- [git-branchless](https://www.automicvault.com/pkg/brew/git-branchless/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, git, libgit2.
- [git-series](https://www.automicvault.com/pkg/brew/git-series/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, git, libgit2.
- [git-workspace](https://www.automicvault.com/pkg/brew/git-workspace/) - Package names and metadata indicate a similar tool family. Shared terms: cli, developer, developer-tools, git, libgit2.

## Combined YAML source

View the package source record on GitHub. [combined/git-absorb.yml](https://github.com/automic-vault/db/blob/main/combined/git-absorb.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
