4 ms·
Better would be to ban both git add . And git commit -a
by singpolyma3 27d ago
Better would be to ban both git add . And git commit -a
- matijs 27d agoBan `git add .` for sure, but what’s so bad about `git commit -a`? It only adds/removes what was already under version control.
- singpolyma3 27d agoMakes it easy to commit things you didn't expect without having reviewed them
- matijs 27d agoAh fair enough, I've got commit.verbose set to true for that.