β
Completed: main Branch Consolidation
Completed Date: Tuesday, July 7, 2026
Team: CCG Contributors
Status: β
Completed
Owner: Syamala
The branch consolidation is complete. main is now the default and active branch going forward.
π What Was Done?β
On Tuesday July 7, develop was consolidated into main.
main is now the repository default branch and the active working branch going forward.
π‘ Why Are We Doing This?β
| Reason | Detail |
|---|---|
| CI/CD default branch | GitHub Actions deployment workflows are triggered from the repository's default branch. Having the default branch (main) diverge from the working branch (develop) creates unnecessary complexity. |
| Industry standard | It is good practice to keep main as the default and authoritative branch. |
| Reduces confusion | Contributors cloning the repo or opening PRs land on main by default. After consolidation, this will reflect the current working state. |
π Backup Tagsβ
Both branches were tagged at their previous state before consolidation. These tags remain available permanently.
| Tag | Branch | Link |
|---|---|---|
backup/develop-before-consolidation | develop | View tag |
backup/main-before-consolidation | main | View tag |
If anything goes wrong after consolidation, these tags can be used to restore either branch to its pre-consolidation state.
πΏ Current Branch Stateβ
| Branch | Before | Now |
|---|---|---|
main | Locked, stale (pre-restructure state) | Default and active working branch |
develop | Active working branch | Consolidated into main |
- New pull requests should target
main - Local workflows, scripts, and branch references should now use
main
β What You Need To Do Nowβ
- Run
git fetch origin --pruneto sync branch references locally - Switch to
mainand pull latest - If your local workflow still references
develop, update scripts/configs tomain
git fetch origin
git checkout main
git pull origin main
π Resourcesβ
| Resource | Link |
|---|---|
| Merchant Internal Content Guide | View Guide |
| Branch Protection Settings | (GitHub β Repo Settings β Branches) |
| Dev Environment | docs.healthsafepay.com |
| Test Environment | developers.healthsafepay.com |
π Bottom Lineβ
Consolidation complete:
mainis now the default and active branch.
Update local references fromdeveloptomainwhere needed.
Backup tags remain available as rollback points.
π Relatedβ
Please align all ongoing work to main going forward.