Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: