I have 2 edits very close by (and therefore part of the same hunk), that I'd like to commit separately. Is it possible to split a hunk from within magit?
You can set the mark correctly with Ctrl+Space (C-SPC) and magit will only commit the selected portion.
2.1m questions
2.1m answers
60 comments
57.0k users