Hacker News new | ask | show | jobs
by varunramesh 214 days ago
I use lazygit when I want to stage specific lines rather than an entire file.
1 comments

I use the CLI git to stage lines. Use `git add -p` to add only the lines you want to commit with your chosen text editor.
This is literally the only way I stage file changes. I want to see and approve everything that goes in.