News for hackers. Stuff that matters.
Re:Rebasing in Magit by mr_mitm on Tuesday March 10, 2026 @02:57PM (#47327413)
Staging single lines or hunks is also much easier in a TUI/GUI. I wouldn't even know how to do it with just git.
Re:Rebasing in Magit by stackbutterflow on Tuesday March 10, 2026 @03:00PM (#47327450)
git add -p
Re:Rebasing in Magit by kirici on Tuesday March 10, 2026 @05:29PM (#47329027)
Operates on hunks, which may at times be multiple lines that cannot be split further
Re:Rebasing in Magit by throw-the-towel on Tuesday March 10, 2026 @05:58PM (#47329297)
You can edit a hunk with `e`. Clunky but it works.
Re:Rebasing in Magit by nothrabannosir on Tuesday March 10, 2026 @11:29PM (#47331468)
In a conversation about magit, this is comparing jumping off a sidewalk to powered flight.
Re:Rebasing in Magit by yacin on Tuesday March 10, 2026 @11:45PM (#47331542)
oftentimes splitting the hunks with `s` is enough.