-
Notifications
You must be signed in to change notification settings - Fork 170
Expand file tree
/
Copy path.gitmessage.txt
More file actions
69 lines (65 loc) · 2.15 KB
/
.gitmessage.txt
File metadata and controls
69 lines (65 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# -------------------- Commit Message Template --------------------
# <type>(<scope>): <short summary> (#<issue-number>)
# 空一行后写详细描述,说明修改动机、影响等
# 关联 Issue 时可用 Closes #123, Related to #456
#
# type 类型:
# feat 新功能
# fix 修复 bug
# docs 文档更新
# style 代码格式(空格、缩进等,不影响功能)
# refactor 代码重构(非新增功能或修复 bug)
# perf 性能优化
# test 测试代码
# chore 构建、依赖或工具相关
# -----------------------------------------------------------------
<type>(<scope>): <short summary> (#<issue-number>)
[详细描述,说明做了什么、为什么做]
[Closes #issue-number]
[Related to #issue-number]
# =================== 示例参考 ===================
# 新功能:增加视频倍速播放功能,关联 Issue #456
# feat(video): 增加倍速播放功能 (#456)
#
# 实现 1.25x、1.5x、2x 播放,后续支持自定义倍速。
# Related to #456
#
# -------------------
# 修复:登录失败问题,关闭 Issue #123
# fix(auth): 修复登录失败的问题 (#123)
#
# 原因是 token 校验逻辑错误,改为使用服务端返回的签名进行比对。
# Closes #123
#
# -------------------
# 文档:更新使用说明,关联多个 Issue
# docs(readme): 更新安装和 API 示例 (#101, #202)
#
# 补充了安装步骤和 API 示例。
# Fixes #101
# Related to #202
#
# -------------------
# 重构:重构播放器模块,不涉及功能变化
# refactor(player): 拆分播放器核心逻辑为独立类
#
# 优化代码结构,方便后续扩展功能。
#
# -------------------
# 性能优化:加快缓存解析速度
# perf(cache): 优化视频缓存解析性能
#
# 使用内存池减少频繁分配,性能提升约 20%。
#
# -------------------
# 测试:补充播放器单元测试
# test(player): 增加播放器核心功能的单元测试
#
# 覆盖 play、pause、seek 等核心 API。
#
# -------------------
# 杂项:升级依赖库
# chore(deps): 升级 FFmpeg 至 6.1 版本
#
# 修复了已知 bug,并提升兼容性。
# =================================================