mirror of
https://github.com/primedigitaltech/market-assistant.git
synced 2026-07-21 23:41:39 +08:00
14 lines
690 B
Plaintext
14 lines
690 B
Plaintext
---
|
||
description: 在本仓库执行 git commit 时,提交说明使用中文
|
||
alwaysApply: true
|
||
---
|
||
|
||
# Git 提交说明使用中文
|
||
|
||
在本仓库内由助手或开发者写入的 **提交说明**(`git commit -m` 与正文)**须以中文为主**:
|
||
|
||
- **第一行**:简短说明本次变更;推荐使用 `type(scope): 描述`(Conventional Commits),其中 **描述为中文**。
|
||
- **正文**(若有):动机、影响范围、注意事项等,用**完整通顺的中文句**;技术名词、包名、API 名可保留英文。
|
||
|
||
避免整段英文提交说明;避免一句内中英碎片堆砌。与「先对齐再改代码」类流程并存时,仍以本约定为准。
|