re: why branching on git is wrong VIEW POST

TOP OF THREAD FULL DISCUSSION
re: You are right, it does not prevent. But most people do follow the commit small and often principle. The important thing is that code gets as early ...

I understand the importance of code visibility and this can easily be done with feature branches via a pull request that does not get completed until code is reviewed and accepted. Direct commits and push to development does not fix issues of poorly implemented code. A developer can easily lose months of work because they committed to their local development branch that tracks origin and then push all their work once. The issue here is that you now are faced with an issue where that code is now in development and you have no chance to deny or approve it. This results in higher need to roll back commits on your development branch as opposed to only accepting code that meets requirements.

code of conduct - report abuse