Note: This change only affects developers and external collaborators working with our GitHub repositories. Regular MainWP users are not impacted and don’t need to take any action.
master → main
We’ve updated all MainWP GitHub repositories to use main as the default branch instead of master. This change aligns with current industry standards adopted by GitHub, major open-source projects, and development teams worldwide.
Why the change?
Git’s default branch naming has evolved over the past few years, with main becoming the widely accepted standard.
GitHub now uses main for all new repositories, and most major projects have already made the transition. By adopting main, we’re staying consistent with modern Git conventions and making our repositories more intuitive for new contributors.
What you need to do
If you have local clones or forks of MainWP repositories, update them with these commands:
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a
For external collaborators:
- New clones automatically use main
- Existing pull requests have been retargeted
- Update any scripts, CI/CD pipelines, or documentation referencing master
The transition should be seamless, but if you encounter any issues, please reach out to our team or post in our Discord community.