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

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

1 comment

unixplumber

Reply

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