DEV Community

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

Collapse
 
cescquintero profile image
Francisco Quintero 🇨🇴

Nice approach. I also am guilty of using git commit -a for many files(some unrelated) but I just live with it.

However, what I do try to do every time I can, is adding patches of files with git add -p and choosing a patch.

This one is sometimes complicated because if the patches are too close, Git treats them as one :(