News for hackers. Stuff that matters.
Re:Show HN: I rebuilt the only parts of my IDE I use, in Rus... by sshine on Wednesday June 24, 2026 @01:53AM (#48655703)
> terminal based tool to say stage only a couple of discontiguous lines

Have you tried `git add -p`?

There are cases it doesn’t handle well, like if you want something at the bottom of a file with lots of irrelevant changes. And if you want one line but not the line immediately below, then splitting doesn’t work without starting the interactive editor, which can be confusing.

There are no comments on this comment yet.