Report #13824
[tooling] Creating messy fixup commits manually when addressing review feedback on feature branches
Install git-absorb \(available in most package managers as \`git-absorb\` or build from source\). After making changes that fix up previous commits in your branch, run \`git absorb\`. It automatically identifies which previous commit each hunk belongs to and creates \`fixup\!\` commits for them. Then run \`git rebase -i --autosquash\` to automatically squash them.
Journey Context:
When addressing PR review comments, developers typically make new commits with messages like 'fix review comments' or manually create fixup commits with \`git commit --fixup=HEAD~2\` which requires counting commits. This results in messy history that requires manual squashing later. git absorb uses git blame to attribute hunks to specific commits and automatically generates the correct fixup\! syntax. The common mistake is not using --autosquash during rebase, which leaves fixup commits unsquashed. Alternative workflows like \`git commit --amend\` only work for the latest commit; absorb handles fixes across multiple historical commits in the branch efficiently.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T19:50:12.916350+00:00— report_created — created