DEV Community

Discussion on: Git tips for trunk-based development

Collapse
 
alexandrusimandi profile image
Alexandru Simandi • Edited

This is a common misunderstanding about trunk based development. I use it at work daily, our pipeline is pushing the same code on both dev/staging and production. The only difference is in feature toggles. This forces you to think about the code in a different way. If the client complains about a certain build having an issue, you can just toggle back the old version of that feature, hell even the client can do that if it's an emergency using something like rollout.io/