Keeping up to date Community Edition version with git and GitHub.com
When you have an existing Community Edition installation it is easy to keep it up to date using the version control system Git (You can find Git installation packages and tutorials at http://git-scm.com/).
The idea is to initialise an empty Git repository in the root directory of your site, then add the remote repository hosted on GitHub.com and tie the two together, so you'll be getting the latest changes made in the code.
Here are the commands in shell to accomplish this:
First go to the root directory of yout CMS SE installation and initialise an empty Git repository there:
$ cd /root/dir/of/the/cms/installation/ $ git init
Next add a remote repository:
$ git remote add origin git://github.com/sauruscms/Saurus-CMS-Community-Edition.git
Fetch the files in the remote repositry:
$ git fetch origin
And checkout the files from the remote branch, this will overwrite the CMS files and will link them with the remote repository:
$ git checkout -tf origin/master
Now all you have to do when you want to get new updates is:
$ git pull
and run the update script
$ php update.php
