# git-absorb

> git commit --fixup, but automatic

Source: https://talira.ai/catalog/git-absorb-rjr31dwk
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / git / helpers](https://talira.ai/categories/developer-tools/git/helpers)
- Platforms: macos, linux, windows, cli
- Licence: BSD-3-Clause
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- Creator: tummychow

git-absorb is a port of Mercurial's hg absorb. Given staged changes on a feature branch, it works out which earlier commits touched the same lines and writes fixup! commits for each, optionally rebasing them in with --and-rebase. It is handy for applying review feedback while keeping atomic commits.

## Links

- Website: https://crates.io/crates/git-absorb
- GitHub: https://github.com/tummychow/git-absorb

## Ways to install

### Package managers

- [WinGet](https://talira.ai/catalog/winget-g927bz13.md): <https://github.com/microsoft/winget-pkgs/tree/master/manifests/t/tummychow/git-absorb>[^1]
- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/git-absorb>[^2]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/source/stable/rust-git-absorb>[^3]

## Problems it solves

- applying review feedback to the right commits in my branch is tedious
- I keep looking up commit SHAs to run git commit --fixup
- fold small fixes into the earlier commits they belong to automatically
- keep atomic commits without a manual interactive rebase
- I do not want a single "fix review comments" commit at the end of my PR
- automatically figure out which commit last modified these lines and amend it
- cleaning up a stacked branch history after code review
- hg absorb for git

## Features

- automatic fixup commits
- --and-rebase
- works with autosquash

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.41 out of 1.
Signals: maintenance 0.27, adoption 0.75, momentum 0.53, community 0.67, backing 0.20, extensibility 0.20.

- latest release 0.9.0 9 months ago
- 5.8k GitHub stars
- 45 contributors
- created by tummychow

Warnings:

- last commit 9 months ago

## Alternatives

- [Jujutsu (jj)](https://talira.ai/catalog/jujutsu-jj-s3nqz41c.md): A Git-compatible VCS that is both simple and powerful
- [GitButler](https://talira.ai/catalog/gitbutler-r3dwwgrx.md): Version control for your agents
- [lazygit](https://talira.ai/catalog/lazygit-9eaadk2v.md): simple terminal UI for git commands

## Sources

[^1]: https://github.com/tummychow/git-absorb/blob/master/README.md (checked 20 Nov 2026)
[^2]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^3]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
