Branching strategies
We have set the policies for branches to make rules and technical checks, but the question is, how swap use branches in Git to support your work? Which strategy should you use? When should you create a new branch? When should you merge branches?
There are plenty of strategies you can use, and there is no silver-bullet solution. The best strategy for your team could be different for another team, or you may have one strategy for your AppSource app and another for your PerTenant app.
Before you decide which way you will go, think about the KISS principle (Keep It Simple, Stupid).
In all of the examples in this chapter, we will consider the master branch the most stable one, the one that represents the app as it is released ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access