First Principles & Git branch

Rethinking branching in version control

First Principles & Git branch

By Leow Guo Jun

“Hey, before you start a new feature make sure you are on a separate branch”. I just accepted this modus operandi out of fear of breaking “master” for the longest time.

This is despite the fact that merging branch and resolving conflicts are some of my biggest headaches during development. The fear of failure has prevented me from questioning from first principles whether master-branch development is even possible.

When the point of master-branch development in a Continuous Integration environment was raised, nobody could refute it.

Of course, I had simply dismissed that idea a long time ago, too.

Still, I can’t help but wonder if that high level of professionalism throughout the entire team is possible in the real world. But well, at least I found a standard to work toward.