
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
no-more-masters
Advanced tools
Rename your default Git branch from master to main.
This script requires that you have a GitHub authorization token. As well, if you have branch protections enabled for master, consider turning them off so that the script can remove the branch from your remote repo.
$ npm install -g no-more-masters
$ no-more-masters
OPTIONS
-b, --branch=branch [default: main] The branch name to create
-h, --help show CLI help
-v, --version show CLI version
git checkout -b main master: Create a branch main from master
git push origin main: Push that main branch to your remote
Using the GitHub API's Update a repository endpoint, set main as the new default branch
git branch -D master: Removes master from your local machine
git push origin :master: Removes master from your remote repository
Note: this step will fail if branch protections are enabled
If you have core.defaultBranch set, the script will use that branch name as its default.
A GitHub API token can also be provided via the GITHUB_TOKEN environment variable.
FAQs
Rename your default Git branch from master to main
We found that no-more-masters demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.