This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
开发流程
本文介绍子模块开发的标准流程,包括分支管理、代码提交、推送和 Pull Request。
开发规范
注意:为保证良好的开发体验,确保 IDE 正确识别项目结构,请以子模块(子仓库)目录作为工作空间根目录打开,而非主仓库根目录。
Git 工作流
跟进最新代码:功能分支使用 git rebase main 保持线性历史
合并策略:PR 合并采用 merge 方式,保留历史分支轨迹
分支清理:合并后删除已合并的分支
创建新分支
根据你要修改的目标,选择在对应仓库创建分支:
修改子模块(modules/chassis 或 modules/gimbal):
cd modules/chassis # 进入子模块目录
git checkout -b feature/your-feature-name