GIT

GIT is a versioning system that is now the recommended upgrade path for Moodle.

Installing/Upgrading Moodle Core

Initial installation:

$ git clone git://git.moodle.org/moodle.git
$ cd moodle
$ git branch -a
$ git branch --track MOODLE_23_STABLE origin/MOODLE_23_STABLE
$ git checkout MOODLE_23_STABLE

Upgrading

$ git status
$ git pull (to retrieve latest updates)

Installing/Upgrading Modules

For example, to install the "certificate" module from GIT,

  • $ git clone git://github.com/PukunuiAustralia/moodle-mod_certificate.git certificate

Then, within the certificate directory (./mod/certificate) use

  • $ git status (to check on the status of pages)
  • $ git pull (to get updated files from repository)

Modules Managed by GIT

  • certificate

Should investigate this for keeping all of moodle up-to-date.

 

Taxonomy: