概念
每个分支在自己的 EC2 实例上运行,从创建时的父项恢复。merge 针对父项的创建时状态运行三路差异。分支共享父项的 JWT_SECRET 但获得自己的 API_KEY。计算服务和前端部署不分支。
用法
使用full(架构 + 数据)或 schema-only(更快,用户表为空)创建分支。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
为 InsForge 项目创建隔离的后端分支副本,安全测试架构迁移、配置变更与代理生成的代码,验证通过后再合并回主环境。
merge 针对父项的创建时状态运行三路差异。分支共享父项的 JWT_SECRET 但获得自己的 API_KEY。计算服务和前端部署不分支。
full(架构 + 数据)或 schema-only(更快,用户表为空)创建分支。
npx @insforge/cli branch create feat-billing --mode full
npx @insforge/cli branch list
npx @insforge/cli branch merge feat-billing --dry-run --save-sql ./preview.sql
npx @insforge/cli branch merge feat-billing
npx @insforge/cli branch reset feat-billing
npx @insforge/cli branch delete feat-billing
此页面对您有帮助吗?