mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
30 lines
980 B
Markdown
30 lines
980 B
Markdown
## Commit
|
|
|
|
Format of the commit message: **type(scope) subject**
|
|
|
|
**Type**:
|
|
|
|
- feature: scope: subject
|
|
- fix: scope: subject
|
|
- docs: scope: subject
|
|
- refactor: scope: subject
|
|
- test: scope: subject
|
|
- chore: scope: subject
|
|
|
|
**Scope**:
|
|
Scope could be anything specifying place of the commit change.
|
|
For example util, console, view, edit, style etc...
|
|
|
|
**Subject text**:
|
|
|
|
- use imperative, present tense: “change” not “changed” nor “changes”
|
|
- don't capitalize first letter
|
|
- no dot (.) at the end
|
|
**Message body**:
|
|
- just as in <subject> use imperative, present tense: “change” not “changed” nor “changes”
|
|
- includes motivation for the change and contrasts with previous behavior
|
|
|
|
**Examples**:
|
|
|
|
- [fix(style) .name{width}: 37% -> 35%](https://github.com/coderaiser/cloudcmd/commit/94b0642e3990c17b3a0ee3efeb75f343e1e7c050)
|
|
- [fix(console) dispatch: focus -> mouseup](https://github.com/coderaiser/cloudcmd/commit/f41ec5058d1411e86a881f8e8077e0572e0409ec)
|