Since i switched to git from svn i started make more commits every time i recompile and my tests pass i commit my work. In the end i end up committing function by function.<
In the end i end up committing function by function
Do not forget you could rather "git add
" function by function, making only one commit:
Then, the number of commits can be related to the purpose of the branch:
In short, "publication considerations" can, in a DVCS (as in "Distributed"), guide you as to make the proper number of commits for the right reasons.