-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Switch all main branches for the bundled packages from master to main.
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 -aTODO:
- wp-cli/admin-command
- wp-cli/wp-cli-bundle
- wp-cli/cache-command
- wp-cli/checksum-command
- wp-cli/config-command
- wp-cli/core-command
- wp-cli/cron-command
- wp-cli/db-command
- wp-cli/embed-command
- wp-cli/entity-command
- wp-cli/eval-command
- wp-cli/export-command
- wp-cli/extension-command
- wp-cli/i18n-command
- wp-cli/import-command
- wp-cli/language-command
- wp-cli/maintenance-mode-command
- wp-cli/media-command
- wp-cli/package-command
- wp-cli/rewrite-command
- wp-cli/restful
- wp-cli/role-command
- wp-cli/scaffold-command
- wp-cli/scaffold-package-command
- wp-cli/search-replace-command
- wp-cli/server-command
- wp-cli/shell-command
- wp-cli/super-admin-command
- wp-cli/widget-command
- wp-cli/wp-cli
- wp-cli/wp-cli-tests
- wp-cli/doctor-command
- wp-cli/profile-command
- wp-cli/handbook
- wp-cli/wp-cli.github.com