Hacker News new | ask | show | jobs
by aequitas 88 days ago
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

2 comments

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.