Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
singpolyma3
· 2mo ago · 0 comments
Better would be to ban both git add . And git commit -a
Comments
[–]
matijs
2mo 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.
[–]
singpolyma3
OP
2mo ago
Makes it easy to commit things you didn't expect without having reviewed them
[–]
matijs
2mo ago
Ah fair enough, I've got commit.verbose set to true for that.