理想情况下,每个目录(app/clientapp1、app/clientapp2、public\u html/clientapp1,…)都是
子模块
即:主要项目git回购:
kohana
- applications
- modules
- public_html
- system
在其中添加子模块:
- kohana
- applications
- clientapp1 -> remote: /path/to/app_client1app Git repo
- clientapp2 -> remote: /path/to/app_client2app Git repo
- modules
- public_html
- clientapp1 -> remote: /path/to/pubhtml_client1app Git repo
- clientapp2 -> remote: /path/to/pubhtml_client2app Git repo
- system
- 3.0.1 -> remote: /path/to/sys Git repo, tag 3.0.1
- 3.0.5 -> remote: /path/to/sys Git repo, tag 3.0.5
- /
- applications
- clientapp1 -> remote: /path/to/app_client1app Git repo
- modules
- public_html
- clientapp1 -> remote: /path/to/pubhtml_client1app Git repo
- system
- 3.0.5 -> remote: /path/to/sys Git repo, tag 3.0.5