Hunk editing with Magit

~591 words. ~2 minutes. tags: git emacs tutorial This was asked in a reddit post , I want a separate commit for edits A, B, and C Line 1 Line 2 editA Line 3 editB Line 4 editC Line 5 From the command line I do. git add -p git commit That's hunk editing. Instead of untying an impossible knot you whack it apart with a machete (ie hunk edit). Now with magit. I can select things in the status buffer…