Where I work, literally every line of code is written on branches. Each feature has a branch. Nobody ever commits directly to master. We only merge tested code that had passed code review into master. Works brilliantly. Merge conflicts are very rare and you get to use version control, committing every step of the way even for half finished pieces of work.
The thought of only committing finished, working code into version control sounds horrible...
0
u/sirin3 Feb 06 '15
Why would you want that? Then you only get a mess of far too many branches