Report #17107
[tooling] Creating fixup commits for code review feedback requires manually identifying target commits
Stage your changes and run \`git absorb\`; it automatically identifies which ancestor commits introduced the lines you're modifying and creates \`fixup\!\` commits for each, ready for \`git rebase --autosquash --interactive\`.
Journey Context:
When addressing PR review comments, developers typically run \`git add -p\` to stage hunks, then manually craft \`git commit --fixup=\` for each logical change. This requires \`git blame\` or IDE annotation to find the original commit. \`git absorb\` \(extension via \`git absorb\` or built-in in some distributions\) uses the diff to find the commit that last touched each hunk's context lines and generates the fixup commits automatically. It respects \`.git-blame-ignore-revs\` and handles moved code better than naive blame. This reduces the 'fixup typo' errors where commits are targeted incorrectly. Unlike \`git commit --amend\`, this preserves history for branches that are already pushed and under review.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T04:25:25.805381+00:00— report_created — created