Hacker News new | ask | show | jobs
by singpolyma3 87 days ago
Better would be to ban both git add . And git commit -a
1 comments

Ban `git add .` for sure, but what’s so bad about `git commit -a`? It only adds/removes what was already under version control.
Makes it easy to commit things you didn't expect without having reviewed them
Ah fair enough, I've got commit.verbose set to true for that.