Hacker News new | ask | show | jobs
Git-hunk: the missing half of Git add (git-hunk.paulie.app)
2 points by mil22 39 days ago
1 comments

git add -p is interactive. It requires a human driving a terminal. LLM agents, shell scripts, and CI pipelines can't use it.

git-hunk provides an enumerate-then-select workflow: list available hunks with stable content hashes, then stage or unstage specific hunks by hash. Hashes are deterministic and remain stable as other hunks are staged or unstaged, so multi-step staging workflows produce consistent results.