Y
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
matijs
87 days 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.
link
singpolyma3
87 days ago
Makes it easy to commit things you didn't expect without having reviewed them
link
matijs
87 days ago
Ah fair enough, I've got commit.verbose set to true for that.
link