Files
xxxigcc/llmdoc/reference/git-conventions.md
Wang Defa 20935a6c89
All checks were successful
Build and Release / build-and-test (arm64, alpine) (push) Successful in -11s
Build and Release / build-and-test (amd64, alpine) (push) Successful in -4s
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 1s
Build and Release / build-and-test (amd64, ubuntu) (push) Successful in 10s
Build and Release / release (push) Successful in 44s
添加 llmdoc 文档系统,升级版本至 3.4.8-xg1
- 初始化 llmdoc 文档系统(overview/architecture/guides/reference)
- 创建 9 个核心文档,涵盖项目概览、安装架构、配置系统等
- 升级 CI 工作流和构建脚本版本号至 3.4.8-xg1
- 添加 .gitignore 文件
2025-12-25 09:06:01 +08:00

48 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
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.
# Git 约定
## 分支策略
- **主分支 (`main`)**: 稳定发布版本
- **开发原则**: 直接在 `main` 分支上进行开发和提交
## 提交消息约定
### 提交消息格式
1. **语言**: 简体中文
2. **风格**: 简洁明了的动作描述
3. **常见前缀**:
- `添加`: 新增功能、文件或依赖
- `修改`: 对现有代码的修改
- `删除`: 移除代码、文件或功能
- `修复`: 解决 bug
- `重构`: 代码重构,不改变功能
### 提交消息示例
```
添加参数
添加脚本
添加 Tari Solo 支持
添加 README
添加deb包构建删除容器构建
```
## 版本管理
- **版本号约定**: 遵循语义化版本 (SemVer)
- **标签**: 使用版本标签标记发布
## 工作流程建议
1. 直接在 `main` 分支上开发
2. 提交前确保代码经过基本测试
3. 编写清晰、描述性的提交消息
4. 保持提交原子化,每个提交聚焦于单一任务
## 最佳实践
- 保持提交历史清晰
- 避免提交大型文件和敏感信息
- 定期进行代码审查