Skip to content

分支命名规范

桔子 edited this page Apr 22, 2020 · 1 revision

在新建分支时,务必遵循以下规范:

<type>/<scope>/<issue>

type

type 对应 commit 信息中的 type,参考链接

scope

scope 对应 commit 信息中的 scope,参考链接

issue

issue 是对该分支要修复问题的描述或者issue的编号

示例

下面是一些分支名称的示例:

  • fix/notice-bar/768

    含义:修复 notice-bar 组件的 issue 编号 768 的问题

  • feat/collapse/color

    含义:collpase 组件新增属性 color

Clone this wiki locally