Semantic Commit Message
Git Commit Message Format
In the repository we use and enforce the commit message conventions. The conventions are verified using commitlint with Angular config.
conventional-changelog/commitlint
conventional-changelog/commitlint: 不可用
星标: 不可用
分支数: 不可用
最近提交: 不可用
最新发行版: 不可用
发行日期: 不可用
徽章图片由 Shields 直接提供;没有图片时仍可访问仓库链接。
commitlint checks if your commit messages meet the conventional commit format.
Format of the commit message:
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>Example commit message:
fix(middleware): ensure Range headers adhere more closely to RFC 2616
Add one new dependency, use `range-parser` (Express dependency) to compute
range. It is more well-tested in the wild.
Fixes #2310type Value
- feat: new feature for the user
- fix: bug fix for the user
- perf: performance improvements
- docs: changes to documentation
- style: formatting, missing semi colons, etc.
- refactor: refactoring production code, e.g. renaming a variable
- test: adding missing tests, refactoring tests; no production code change
- chore: updating build configuration, development tools or other changes irrelevant to the user
- build: build tooling, Docker configuration change
- ci: test runner, Github Actions workflow changes
- revert: changes that don’t correspond to the above – should be rare!
Example of <type>: <subject>:
feat: add beta sequence
fix: remove broken confirmation message
docs: explain hat wobble
style: convert tabs to spaces
refactor: share logic between 4d3d3d3 and flarhgunnstow
test: ensure Tayne retains clothing
chore: add Oyster build scriptscope Value
Example <scope> values:
- init
- runner
- watcher
- config
- web-server
- proxy
Blog Site Specific Conventions
Blog Site type Value
- add: 添加文章、笔记、文档
- del: 删除文章、笔记、文档
- update: 更新文章、笔记、文档,一般指有较大的内容变更或补充
- fix: 修复文章、笔记、文档中的错误,一般指修正一些错误
- refine: Refine 文章、笔记、文档,一般指微调
Blog Site scope Value
Examples:
- posts/blahblah
- notes/blahblah
- foobar
评论需要 JavaScript。