如何获取 CakePHP 1.3 的最新版本?

发布于 2024-08-17 18:59:44 字数 133 浏览 7 评论 0原文

这似乎是一个非常初学者的问题;但是,我不知道 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我的痛♀有谁懂 2024-08-24 18:59:44

你是对的,CakePHP 已经转移到 Git 和 Github:

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

将“签出”最新的提交。

git pull

然后将存储库“更新”到 HEAD 修订版。

编辑:我刚刚意识到 CakePHP 有一个单独的 1.3 开发分支。您必须:

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

这会将您切换到 1.3 分支。

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.

新人笑 2024-08-24 18:59:44

Brian McKenna 的上述回复有效,但截至 2012 年 4 月 4 日,他列出的第一个命令不起作用。我尝试了几个小时才弄清楚...问题是在 URL 中包含“1x”:

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

运行此命令会导致

git clone git://github.com/cakephp/cakephp1x.git targetdir
Cloning into targetdir...
fatal: The remote end hung up unexpectedly

相反,我能够成功签出初始副本,然后按照步骤 2 和3 开始拉取 1.3 版本:

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

我希望遵循上述解决方案的其他人会发现这一点,并且不会像我一样陷入困境。

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:

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

Running this command would result in

git clone git://github.com/cakephp/cakephp1x.git targetdir
Cloning into targetdir...
fatal: The remote end hung up unexpectedly

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:

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

I hope someone else who is following the above solution finds this and does not get stuck like I did.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文