Settings

Theme

Git-hunk: the missing half of Git add

git-hunk.paulie.app

2 points by mil22 4 days ago · 1 comment

Reader

mil22OP 4 days ago

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection