Search code examples
svngitcakephprevision

How can I get the latest revision of CakePHP 1.3?


This seems like a pretty beginner question; however, I have no idea what the link for the latest revision of cake 1.3 is. I have git and svn working with eclipse. I think cake is using git now instead of SVN (perhaps I am mistaken). If it is using git could someone give me some instruction?


Solution

  • You are right, CakePHP has moved to Git and Github:

    git clone git://github.com/cakephp/cakephp1x.git
    

    Will "checkout" the latest commit.

    git pull
    

    Will then "update" the repository to the HEAD revision.

    EDIT: I just realised that CakePHP has a separate 1.3 development branch. You'll have to:

    git branch --track 1.3 origin/1.3
    git checkout 1.3
    

    And that will switch you to the 1.3 branch.