Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by varunramesh

3 months ago

I use lazygit when I want to stage specific lines rather than an entire file.

2 comments

varunramesh

Reply

unixplumber  3 months ago

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.

  • sevenseacat  3 months ago

    This is literally the only way I stage file changes. I want to see and approve everything that goes in.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities