Nice approach. I also am guilty of using git commit -a for many files(some unrelated) but I just live with it.
git commit -a
However, what I do try to do every time I can, is adding patches of files with git add -p and choosing a patch.
git add -p
This one is sometimes complicated because if the patches are too close, Git treats them as one :(
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 :(