如何获取 CakePHP 1.3 的最新版本?
这似乎是一个非常初学者的问题;但是,我不知道 cake 1.3 最新版本的链接是什么。我有 git 和 svn 与 eclipse 一起工作。我认为 cake 现在使用 git 而不是 SVN (也许我错了)。如果使用 git 有人可以给我一些指导吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你是对的,CakePHP 已经转移到 Git 和 Github:
将“签出”最新的提交。
然后将存储库“更新”到 HEAD 修订版。
编辑:我刚刚意识到 CakePHP 有一个单独的 1.3 开发分支。您必须:
这会将您切换到 1.3 分支。
You are right, CakePHP has moved to Git and Github:
Will "checkout" the latest commit.
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:
And that will switch you to the 1.3 branch.
Brian McKenna 的上述回复有效,但截至 2012 年 4 月 4 日,他列出的第一个命令不起作用。我尝试了几个小时才弄清楚...问题是在 URL 中包含“1x”:
运行此命令会导致
相反,我能够成功签出初始副本,然后按照步骤 2 和3 开始拉取 1.3 版本:
我希望遵循上述解决方案的其他人会发现这一点,并且不会像我一样陷入困境。
The above response by Brian McKenna works, but as of 4/4/12 the first command he lists does not work. I tried for HOURS to figure it out... and the problem is the inclusion of the "1x" in the URL:
Running this command would result in
Instead, I was able to successfully check out the initial copy and then follow steps 2 and 3 to pull the 1.3 version by starting off with:
I hope someone else who is following the above solution finds this and does not get stuck like I did.