docs: add workspace guardrails and submodule workflow
This commit is contained in:
@@ -35,6 +35,17 @@
|
|||||||
- 後端子模組:[backend](../backend)(submodule: `../member-backend`)
|
- 後端子模組:[backend](../backend)(submodule: `../member-backend`)
|
||||||
- 前端子模組:[frontend](../frontend)(submodule: `../member-frontend`)
|
- 前端子模組:[frontend](../frontend)(submodule: `../member-frontend`)
|
||||||
|
|
||||||
|
## 開發工作目錄(防呆)
|
||||||
|
- 只在 `member-platform` 內開發與提交。
|
||||||
|
- 後端只改 `member-platform/backend`。
|
||||||
|
- 前端只改 `member-platform/frontend`。
|
||||||
|
- 根目錄外的 `member-backend` / `member-frontend` 若有另一份 clone,視為非主要工作副本,避免混用。
|
||||||
|
|
||||||
|
## 提交順序(固定)
|
||||||
|
1. 先在 `member-platform/backend` 或 `member-platform/frontend` 各自 commit / push。
|
||||||
|
2. 再回 `member-platform` 根目錄,提交子模組版本指標變更(submodule pointer)並 push。
|
||||||
|
3. 部署端只需要更新 `member-platform`,再執行 `git submodule update --init --recursive`。
|
||||||
|
|
||||||
## 文件邊界
|
## 文件邊界
|
||||||
- 本輪只保留可開發、可交辦、可驗收文件。
|
- 本輪只保留可開發、可交辦、可驗收文件。
|
||||||
- 最終規格白皮書延後到專案完成後再產出。
|
- 最終規格白皮書延後到專案完成後再產出。
|
||||||
|
|||||||
Reference in New Issue
Block a user