With git add -p
I can add individual hunks step by step.
In many cases I want to add exactly one hunk and then quit the interactive mode immediately. I don't want the next hunk to show up, because it will confuse me when writing the commit message, and forces me to scroll up to see the added hunk.
Is there any way to do this directly, instead of showing the next hunk and then using "q"?
I already tried typing "aq" but it does not work (and I did not really expect it to work).