DEV Community

Discussion on: I have banned 'git commit -a'

Collapse
 
kwstannard profile image
Kelly Stannard

I have run into this too which is part of why I did this: dev.to/kwstannard/how-to-plan-an-i...

It uses -a but, this allows me to very quickly commit while saving the information for git to use in a later squash. Since I can do it quickly without thinking too hard I can commit often and get fine grained commits and less unrelated changes in commits.