Skip to content

Switch main branch from master to main in all bundled packages #5598

@schlessera

Description

@schlessera

Switch all main branches for the bundled packages from master to main.

⚠️ However, this will cause all open PRs to become invalid and immediately be closed! ⚠️

Therefore, this should be worked upon for each repo separately, while first ensuring no PRs are open against the master branch anymore.

Note: The Composer branch-alias needs to be adapted to change from dev-master to dev-main as well. Additionally, wp-cli-dev will need its composer.json file updated.

After the changes, the following commands can adapt a local repository for the same change:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

TODO:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions