mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
feat(dev): add commit template
This commit is contained in:
parent
1206c6c181
commit
52c04a6315
2
.github/.git_commit_template.txt
vendored
Normal file
2
.github/.git_commit_template.txt
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# [TYPE](SCOPE):DESCRIPTION#[ISSUE]
|
||||||
|
# example feat(button):add type 'button' for form usage #1234
|
13
README.md
13
README.md
@ -22,3 +22,16 @@ $ yarn gen component-name
|
|||||||
```
|
```
|
||||||
|
|
||||||
Note the `component-name` must be in `kebab-case`, combining words by replacing each space with a dash.
|
Note the `component-name` must be in `kebab-case`, combining words by replacing each space with a dash.
|
||||||
|
|
||||||
|
## Commit template
|
||||||
|
With command
|
||||||
|
```bash
|
||||||
|
yarn cz
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
```
|
||||||
|
[TYPE](SCOPE):DESCRIPTION#[ISSUE]
|
||||||
|
# example feat(button):add type 'button' for form usage #1234
|
||||||
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user