3 ms·
This is why I prefer to create a branch for each 'feature' I'm working on, commit to that branch a bunch of times as I feel like it, then merge the branch back
by Xichekolas 18y ago
This is why I prefer to create a branch for each 'feature' I'm working on, commit to that branch a bunch of times as I feel like it, then merge the branch back into the master branch once I know everything works.
Running a full test suite before every commit just means you'll commit less often, which leads to bigger commits that are more likely to contain a smattering of unrelated changes.
- icefox 18y agoFor the Arora project when I do a commit it doesn't run all of the autotests, but it does detect that I am changing files X, Y, Z and lookup the matching autotests and run them. This results in very quick testing. I found having local hooks very powerful and you can do many things that you could never do on the server. http://benjamin-meyer.blogspot.com/2008/10/git-hooks.html http://benjamin-meyer.blogspot.com/2008/10/git-hooks.html