GIT:(Kohana)项目设置
我正在开发一个 kohana 项目。 github 上有一个框架核心的存储库。 另外,它们是我需要的单独存储库上的许多模块(orm、acl、电子邮件等),
我将创建并处理我自己的模块,并希望将它们放在一个 unfuddle 存储库中(只有我的模块是 物理上),但是当我签出该项目时,我希望将 kohana 和模块也与我的一起拉出。 (子模块?)
我对 GIT 还很陌生,任何有关如何完成设置的指示都将不胜感激:)
I am developing a kohana project.
There is a repository on github for the framework core.
Also, they are many modules on separate repositories that i need (orm, acl, email, etc)
I will be creating and working on my own modules, and want to have them in a unfuddle repository (only my modules would be physically there), but when I checkout the project I want to have the kohana and modules pulled as well along with mine. (submodules?)
I'm pretty new to GIT, any pointers on how to accomplish the set up wold be greatly appreciated :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
http://kohanaframework.org/3.2/guide/kohana/tutorials/git
这描述了如何使用 git 子模块正确设置 kohana 项目。
http://kohanaframework.org/3.2/guide/kohana/tutorials/git
This describes how to properly setup a kohana project with git submodules.
[问题在于,由于整个 kohana 目录是一个子模块,因此我添加的模块不会被存储...]
好的,@zombor 向我展示了方法。
这就是我所做的,我想知道它是否有气味......
我决定从 github.com/kohana/kohana 而不是 github.com/kohana/ 中提取core 因为它提供了框架的整个骨架。
[The problem with this is that since the whole kohana directory is a submodule, the modules that I add, are not being stored...]
Ok, @zombor showed me the way.
This is what I've done, and I would like to know if it smells...
I decided to pull from
github.com/kohana/kohana
instead ofgithub.com/kohana/core
because it provides the whole skeleton of the framework.