Finding specific Moodle versions in the Moodle Git Repository

The key to working with the Moodle git repository (https://docs.moodle.org/31/en/Git_for_Administrators) is to look at changes to the version.php file in the main moodle directory which tells you the moodle version. You can use the whatchanged git command to get a summary of all changes and tags. git whatchanged -p version.php But more than likely if…

How to get a list of the Moodle Core Git Branches

Use the following git command to get a list of all the Moodle core git branches. git ls-remote git://git.moodle.org/moodle.git | grep head This returns a bunch of hashes and the refs/heads/[MOODLE_XX_STABLE] branches. You can guess these, so this is just to check what they are without having to clone the entire repository. Plus you’ll know…