Comprehensive and Detailed Explanation
Copado's branching strategy maintains a relationship between each user story and its associated Git feature branch throughout the development and deployment lifecycle.
When a developer initially commits changes against a user story, Copado creates the corresponding feature branch using the configured base branch. This branch contains the version-controlled changes associated with that development requirement.
As the user story progresses through integration, UAT, staging, and production, Copado continues using the committed feature branch as the source of the changes being promoted.
During each promotion, Copado creates a promotion branch based on the destination environment's branch and merges the applicable feature-branch changes into it.
The feature branch does not need to be recreated merely because the user story advances to another environment.
This behavior also applies when the user story reaches production. The same feature branch maintains the development history and provides traceability back to the original user story.
The distinction is important because recreating feature branches for every environment would unnecessarily fragment version history and complicate the management of related changes.
Copado separates feature development from environment-specific promotion operations, allowing the same committed implementation to progress through the complete release pipeline.
Official References: Copado — Structure of a User Story, Base Branch and View in Git; Glossary of Terms, Feature Branch and Promotion Branch.
Submit