Re:Staging patches with Git add -p
by topsecret on Wednesday July 29, 2026 @07:20PM
(#49104348)
From the article, try J and K instead of j and k; that moves to next/previous hunk, not next/previous unreviewed hunk.
[ Parent
| on HN ]
To you and the sibling commenter:
D’oh. I should have reviewed the docs better, you’re totally right. Now I feel dumb. Wish I would’ve learned this a long time ago. (Or maybe I did and forgot, perhaps multiple times. I’ve used git basically daily since 2006. I’ve forgotten a lot.)