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

Lazygit[0] is ideal for quickly selecting files or lines you want to include in your commit. There are probably countless others. And `--patch` is also not that hard.

[0] https://github.com/jesseduffield/lazygit

 help



yes, lazygit is huge, I mentioned it in the article too

Magit of course also solves this very nicely.

In magit press s to stage and u to unstage. Very intuitive.

You can also select specific hunks or lines within a hunk to stage/unstage.




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

Search: