views:

223

answers:

1

Hi All, 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?

+4  A: 

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.

Brian McKenna
ahhh yea, i was wondering what was going on.
Parris
actually i have another issue maybe you can answer it, I am getting a fatal:Not a repository (or any of its parent directories): .git
Parris
You have to cd to the directory that git creates (cakephp1x in this case).
Brian McKenna
thanks it worked! :)
Parris