Checking access…

Skip to main content
Version: v2

✅ Completed: main Branch Consolidation

Completed Date: Tuesday, July 7, 2026
Team: CCG Contributors
Status: ✅ Completed
Owner: Syamala


Update Complete

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?

ReasonDetail
CI/CD default branchGitHub 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 standardIt is good practice to keep main as the default and authoritative branch.
Reduces confusionContributors 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.

TagBranchLink
backup/develop-before-consolidationdevelopView tag
backup/main-before-consolidationmainView tag
Tags are permanent rollback points

If anything goes wrong after consolidation, these tags can be used to restore either branch to its pre-consolidation state.


🌿 Current Branch State

BranchBeforeNow
mainLocked, stale (pre-restructure state)Default and active working branch
developActive working branchConsolidated 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 --prune to sync branch references locally
  • Switch to main and pull latest
  • If your local workflow still references develop, update scripts/configs to main
git fetch origin
git checkout main
git pull origin main

📚 Resources

ResourceLink
Merchant Internal Content GuideView Guide
Branch Protection Settings(GitHub → Repo Settings → Branches)
Dev Environmentdocs.healthsafepay.com
Test Environmentdevelopers.healthsafepay.com

🏁 Bottom Line

Consolidation complete: main is now the default and active branch.
Update local references from develop to main where needed.
Backup tags remain available as rollback points.



Please align all ongoing work to main going forward.