Splitting a hunk with magit February 3, 2023 by Tarik You can set the mark correctly with Ctrl+Space (C-SPC) and magit will only commit the selected portion.