Well, just like everybody else, I’ve been using phpMyAdmin to do my casual MySQL fixing/work on this website. However, recently the phpMyAdmin developers switched to Git on SourceForge and then to GitHub shortly after that.
So, the guy over at Network Jack wrote down what I had already been doing:
1 2 3 |
git clone --depth=1 git://phpmyadmin.git.sf.net/gitroot/phpmyadmin/phpmyadmin cd phpmyadmin git checkout --track -b PMASTABLE origin/STABLE |
However, as I said before, they switched from SourceForge to GitHub, thus you need another URL.
1 2 3 |
git clone --depth=1 git://github.com/phpmyadmin/phpmyadmin.git cd phpmyadmin git checkout --track -b PMASTABLE origin/STABLE |
After that, you just need to add a simple cronjob that enters the directory and runs git pull.
(I know this is an old post)
You can simplify your syntax:
git clone -b STABLE –depth=1 –single-branch git://github.com/phpmyadmin/phpmyadmin.git