✨Feature✨ Branch Approach#
This section introduces a development workflow designed to facilitate best practices while being intuitive to follow and easy to implement.
While many similar approaches exist, we recommend Martin Fowler’s blog about “Patterns for Managing Source Code Branches” for those interested in exploring more options.
Our goal is to provide a flexible approach that can be applied in most cases. Therefore, we describe the Feature Branch Approach loosely, without strictly defining the term feature.
In simple terms, the Feature Branch Approach describes:
How to manage and organize changes in a controlled and efficient way?
Create a separate branch for each new feature or change, allowing for independent, self-contained development and testing.
This idea promotes the best practice of separating changes by grouping and tracking those related to a specific subject (or feature, in this case) within a dedicated branch.
Isolate changes and reduce conflicts.
Enable parallel development and testing.
Improve code quality and stability.
Simplify merging and deployment.
Create a new branch for a specific feature or change.
Apply the concept of a healthy reference to the feature branch.
Make incremental changes to the branch, testing and refining as needed.
Merge the branch into the main codebase when complete.
Repeat the process for each new feature or change.