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
schlessera commentedJan 5, 2022
•
edited by danielbachhuber
Switch all main branches for the bundled packages from
mastertomain.Therefore, this should be worked upon for each repo separately, while first ensuring no PRs are open against the
masterbranch anymore.Note: The Composer
branch-aliasneeds to be adapted to change fromdev-mastertodev-mainas well. Additionally,wp-cli-devwill need itscomposer.jsonfile updated.After the changes, the following commands can adapt a local repository for the same change:
TODO:
The text was updated successfully, but these errors were encountered: