Decoding Git Branching: Less is More!

by Jul 6, 2023

Decoding Git Branching: Less is More!

Easy and powerful – that’s Git branching for me. I went on a journey with GitFlow branching strategy only to realize its complexity and pivoted to GitHub Flow.

Now I am even more extreme, with almost no branches, using Trunk-based development.

Reason? Branches aren’t free of cost. 💰

More branches = longer feedback loops, slowed code reviews and merges. 🔄 Result? Delayed integrations and slower deployments.

Too many branches clutter the codebase, hampering collaboration and comprehension. 🧠

Increased branches amplify the chances of conflicts, destabilizing your codebase. ⚠️

Start simple, with feature branches on the main branch. 🌳 But consider this – why create a branch for a feature that can be built in one day?

Git branching is valuable, but excessive use can hinder software development. Keep it focused and concise for better results. 🎯


Subscribe to
The Daily Friction

A daily newsletter on automation and eliminating friction

Related Content

Improving Optimization?

Improving Optimization? The traditional steps of Optimization: 1. Eliminate 2. Automate or 3. Delegate What if we added a missing element? Simplify. Before automating a convoluted workflow or delegating a tangled task, strip away the unnecessary. Make processes leaner...

read more

Unit tests for Dataverse plugins?

Unit tests for Dataverse plugins? I must admit, I almost never write unit tests for Dataverse plugins. Plugins are often quite simple, testing them in isolation is not particularly useful. Often you only test a couple of if-statements. Unit tests don't bring a lot of...

read more

New Dynamics 365 browser extension

New Dynamics 365 browser extension I'm trying out the new -Power Roles- extension and it looks very promising. You browse to a Dynamics 365 (or Power Apps) app and then you press -record-. It will then monitor all the action you do in the app and propose which...

read more