18
Branching strategy for a text based project
(feddit.it)
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Resources
Rules
Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
I would go with a trunk based approach. In other words no other long lived branches other than main. Push for review often and merge to main as soon as it's approved.
If you don't see a need for a more complex branch strategy, you probably don't need it. Branches are always an increased risk for conflicts and can be a pain to resolve.
Yeah, I agree. I mean, we have different files for different chapters. So I guess a trunk based approach would work. Benefits from using a branch for each chapter variations might be needed, but only in specific cases. And to be honest, I think this does not really applies to us