3 ms·
> In small team environments, simple branching off of main and then committing prs directly to main is more than enough in my opinion. Interestingly enough, tr
by Swizec 3y ago
> In small team environments, simple branching off of main and then committing prs directly to main is more than enough in my opinion.
Interestingly enough, trunk based development is what all the big teams have arrived at also. It’s the only thing that works.
If trunk based development doesn’t work for you, it’s because you’re missing feature flags or can’t use them for a specific project. And it always leads to pain.
- twosdai 3y agoYeah I'm a huge fan of trunk based development. It's my preferred operating method for git. I know a lot of people like git flow for its ability to create seperate envs that can be controlled and tested, however it always felt extremely unnecessary to me when building saas products. Changes should not be long lived in this space. I can understand how git flow would be great when the product is an artifact like a docker image, binary, vm image etc... but for managed applications / saas stuff, it's not the best.