chore: 将 ec-nest/ec-admin 纳为 Git 子模块并配置远端
- 注册 sources/ec-nest、sources/ec-admin 为子模块(origin 指向本项目远端,upstream 保留原仓库) - README 补充子模块克隆/更新说明 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
377bf86076
commit
12f588d593
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
[submodule "sources/ec-nest"]
|
||||
path = sources/ec-nest
|
||||
url = ssh://git@git.dianyunshouhu.com:2222/touyun_liuyun/ec-nest.git
|
||||
[submodule "sources/ec-admin"]
|
||||
path = sources/ec-admin
|
||||
url = ssh://git@git.dianyunshouhu.com:2222/touyun_liuyun/ec-admin.git
|
||||
23
README.md
23
README.md
@ -21,6 +21,27 @@ openspec list # 列变更
|
||||
openspec view # 交互式看板
|
||||
```
|
||||
|
||||
## 源码(Git 子模块)
|
||||
|
||||
`sources/` 下两个独立工程以 Git 子模块方式管理:
|
||||
|
||||
| 子模块 | 说明 | `origin`(本项目远端) | `upstream`(原仓库) |
|
||||
|---|---|---|---|
|
||||
| `sources/ec-nest` | 后端 | `touyun_liuyun/ec-nest` | `touyun_liuyun/sysmgr-nest` |
|
||||
| `sources/ec-admin` | 管理端 | `touyun_liuyun/ec-admin` | `touyun_liuyun/sysmgr-admin` |
|
||||
|
||||
克隆仓库(含子模块):
|
||||
|
||||
```bash
|
||||
git clone --recurse-submodules ssh://git@git.dianyunshouhu.com:2222/touyun_liuyun/touyun-elderly-care.git
|
||||
```
|
||||
|
||||
更新子模块到远端最新:
|
||||
|
||||
```bash
|
||||
git submodule update --remote
|
||||
```
|
||||
|
||||
## 目录
|
||||
|
||||
- `CLAUDE.md` / `AGENTS.md` — 项目规范与工作流
|
||||
@ -31,4 +52,4 @@ openspec view # 交互式看板
|
||||
- `docs/superpowers/specs/` — 设计文档
|
||||
- `docs/superpowers/plans/` — 实施计划
|
||||
- `.claude/skills/` — 项目级技能
|
||||
- `sources/` — 源码(各端独立项目,前缀 `touyun-elderly-care-`)
|
||||
- `sources/` — 源码(Git 子模块:`ec-nest` 后端、`ec-admin` 管理端)
|
||||
|
||||
1
sources/ec-admin
Submodule
1
sources/ec-admin
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit da7a5b703e7c0413c6e2baf96c7e49e5db5e5871
|
||||
1
sources/ec-nest
Submodule
1
sources/ec-nest
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 6618137da557843b0c30ebaebf06f8180a303392
|
||||
Loading…
x
Reference in New Issue
Block a user