As part of the move to switch the master branch to the main branch, we need to create a script that will check for the usages of the master branch in existing Moodle instances and switch them to use the main branch. The mdk doctor command seems to be the most appropriate place to do this.
This will check for instances that still use the master branch. Applying --fix will switch these instances to use the main branch and delete the master branch.
As part of the move to switch the master branch to the main branch, we need to create a script that will check for the usages of the
master
branch in existing Moodle instances and switch them to use themain
branch. Themdk doctor
command seems to be the most appropriate place to do this.This will check for instances that still use the master branch. Applying
--fix
will switch these instances to use themain
branch and delete themaster
branch.