Commit 90535960 authored by 康明's avatar 康明

doc: 修改格式

parent 50a16cfb
# 代码评审规范
## 前言
**Code Review 目的**
- 保证代码可读性,一致性。
......@@ -12,3 +7,9 @@
- 知识共享**+**设计讨论。
# CR模板
[xxxx项目_代码检查报告_20220828.xls](https://www.yuque.com/attachments/yuque/0/2022/xls/240791/1661825366155-54348cf1-e443-4dba-8d7a-581b4f6d3941.xls?_lake_card=%7B%22src%22%3A%22https%3A%2F%2Fwww.yuque.com%2Fattachments%2Fyuque%2F0%2F2022%2Fxls%2F240791%2F1661825366155-54348cf1-e443-4dba-8d7a-581b4f6d3941.xls%22%2C%22name%22%3A%22xxxx%E9%A1%B9%E7%9B%AE_%E4%BB%A3%E7%A0%81%E6%A3%80%E6%9F%A5%E6%8A%A5%E5%91%8A_20220828.xls%22%2C%22size%22%3A59392%2C%22type%22%3A%22application%2Fvnd.ms-excel%22%2C%22ext%22%3A%22xls%22%2C%22source%22%3A%22%22%2C%22status%22%3A%22done%22%2C%22mode%22%3A%22title%22%2C%22download%22%3Atrue%2C%22taskId%22%3A%22u6f811eab-45a3-41b0-9e5a-d30cfe6c3e7%22%2C%22taskType%22%3A%22upload%22%2C%22__spacing%22%3A%22both%22%2C%22id%22%3A%22iqKtN%22%2C%22margin%22%3A%7B%22top%22%3Atrue%2C%22bottom%22%3Atrue%7D%2C%22card%22%3A%22file%22%7D)
##
# [
](https://www.cnblogs.com/Javame/p/5287540.html)
# 代码管理规范
开发新功能时,评估当前功能如果后期不使用会不会影响系统使用,如果关联性较强建议新建一个分支开发新功能
- 尽量划分小功能模块提交,便于找出问题模块的代码
......@@ -10,20 +6,18 @@
- 如有新的模块,记得补充README
## 撰写提交信息
提交commit时,必须给出完整扼要的提交信息,规范格式如下:
:::info
[Type]: subject
Type包括:
feat:新功能(feature)
fix:修补bug
docs:文档(documentation)
style: 格式(不影响代码运行的变动)
refactor:重构(即不是新增功能,也不是修改bug的代码变动)
test:增加测试
build: 对项目构建或者依赖的改动
revert: feat(pencil): add 'graphiteWidth' option (撤销之前的commit)
:::
> [Type]: subject
> Type包括:
> feat:新功能(feature)
> fix:修补bug
> docs:文档(documentation)
> style: 格式(不影响代码运行的变动)
> refactor:重构(即不是新增功能,也不是修改bug的代码变动)
> test:增加测试
> build: 对项目构建或者依赖的改动
> revert: feat(pencil): add 'graphiteWidth' option (撤销之前的commit)
例:
:::info
[fix]: 修复新增楼栋无法关联项目
:::
> [fix]: 修复新增楼栋无法关联项目
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment