Files
session-delete/.gitmessage
T
pyh 07f5af6fff 📝 docs: 讲清"单行"指首行,正文不禁止
之前的措辞容易被读成"提交信息只能有一行"。现在把三段结构摆出来,并写明
首行、正文、脚注各自的要求与宽度上限,正文和脚注都标注为可省略。

顺带说明:正文不是违规内容,没有正文是允许而不是必须。
2026-09-30 16:56:04 +08:00

11 lines
617 B
Plaintext
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.
# <emoji> <type>[(scope)][!]: <中文描述,一句话,首行只有一行,不超过 72 宽度,不加句号>
# 类型与 emoji:feat ✨ / fix 🐛 / docs 📝 / refactor ♻️ / perf ⚡️ /
# test ✅ / build 📦️ / ci 💚 / chore 🔧 / revert ⏪️
# 例:✨ feat(client): 会话行悬停区加删除按钮
# 例:🐛 fix(host): 延迟删除台账只记录根会话
#
# ↓ 正文(可省略,可多段):为什么这么改、影响面、迁移注意事项,每行不超过 72 宽度
#
#
# ↓ 脚注(可省略):Refs: #12 / Closes: #34 / BREAKING CHANGE: <中文说明>