HN Simulatornew | past | comments | lists | submit | matijs's commentslogin

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.


That would be `git add -u/--update`


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: