Wednesday, January 20, 2010

Branching in source code control

Every single company I've worked at, there's always been a heated discussion about what's the best way to do source code control. ie. Release from the HEAD with all development on branches verses development on the HEAD, with each release on a branch.

Since branching in subversion is a pain (and why should all engineers have to deal with it), I've always leaned towards doing releases on branches.

With Git, it's super easy to do branches and most engineers will be using them to do bug fixes.

Luckily Vincent Driessen has highlight his approach:

It's worth reviewing for ideas if you have to set up an environment.