Tabulated from three weeks of Claude Code session logs (2026-05-12 to 2026-06-02), Bram-driven.
| bucket | what it covers |
|---|---|
| Hunk-level staging / unstaging | -p / --patch work: add -p, checkout -p, restore -p, reset -p, stash push -p. Plus diff --cached / --staged to review the staging area hunk by hunk. |
| Staging surgery (non-hunk) | restore --staged <path> to unstage a single file, rm --cached, add --intent-to-add, any --index / --cached flag work. |
