HOWTO: Upgrade Moodle from CLI using git

HOWTO: Upgrade Moodle from CLI using git joan dv., 18/01/2019 - 13:22

Once at your Moodle base folder, just:

  1. /usr/bin/php admin/cli/maintenance.php --enable

  2. git pull

  3. /usr/bin/php admin/cli/maintenance.php --disable

  4. Log in to the site, as administrator, and follow the web steps to update database, etc.