Scenario: While working on a task/feature, you fixed a small bug in an unrelated area of one of the files you changed. At commit, you'd like to commit that separately.
Tried staging the hunk I wanted to commit,
- There is no option to commit what is staged,
Tried staging what I didn't want to commit,
- Everything I'd staged also appeared in the commit anyway,
Tried discarding what I didn't want to commit,
- Actually removed/reverted the change from the source file.
So what is the intended workflow for cherry picking a subset of changes and commiting just them? Am I missing something obvious?