News for hackers. Stuff that matters.

lfrb

Re:Oh shit, git: Getting myself out of bad situations on Monday December 18, 2017 @12:21PM (#15953288)
You can use 's' to split a hunk but it would indeed not work if you want to split two consecutive lines.

You can also use 'e' option to edit the hunk to e.g. remove one of the added line.

Nothing as easy as clicking a line in a GUI though.