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 matijs

16 hours ago

Ban `git add .` for sure, but what’s so bad about `git commit -a`? It only adds/removes what was already under version control.

2 comments

matijs

Reply

singpolyma3  10 hours ago

Makes it easy to commit things you didn't expect without having reviewed them

  • matijs  39 minutes ago

    Ah fair enough, I've got commit.verbose set to true for that.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities