mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
docs(CONTRIBUTING): update commit convention description
This commit is contained in:
@@ -79,8 +79,7 @@ pnpm build-firefox
|
||||
|
||||
#### 常驻分支
|
||||
|
||||
- **Dev**: 用此分支进行错误修复、新功能的开发、性能改进或对国际化(i18n)文件的修改。
|
||||
- **Main**: 主分支,代表稳定可发布的版本。
|
||||
- **Main**: 用此分支进行错误修复、新功能的开发、性能改进或对国际化(i18n)文件的修改。
|
||||
|
||||
#### 其他临时分支
|
||||
|
||||
@@ -88,12 +87,14 @@ pnpm build-firefox
|
||||
- **doc/**: 此分支专门用于修复文档, 不涉及功能改动。
|
||||
- **fix/**: 此分支专门用于修复 dev 分支中出现的错误。
|
||||
|
||||
### commit 规范
|
||||
### Commit 规范
|
||||
|
||||
你也可以参照 [Angular commit message guidelines](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines)
|
||||
|
||||
- `feat`:新功能
|
||||
- `fix`:修复 Bug
|
||||
- `docs`:文档更新
|
||||
- `style`:样式调整
|
||||
- `style`:不影响代码含义的更改(空格、格式、缺少分号等)
|
||||
- `refactor`:重构代码
|
||||
- `test`:添加或更新测试
|
||||
- `chore`:构建过程或工具链的变更
|
||||
|
||||
@@ -76,8 +76,7 @@ pnpm build-firefox
|
||||
|
||||
#### 永久分支
|
||||
|
||||
- **Dev**:用於錯誤修正開發新功能、性能改進或修改國際化(i18n)文件的分支。
|
||||
- **Main**:主分支,代表穩定且可發布的版本。
|
||||
- **Main**:用於錯誤修正開發新功能、性能改進或修改國際化(i18n)文件的分支。
|
||||
|
||||
#### 其他臨時分支
|
||||
|
||||
@@ -85,12 +84,14 @@ pnpm build-firefox
|
||||
- **doc/**:專門用於修正文檔,無功能更改的分支。
|
||||
- **fix/**:專門用於修正 dev 分支中的錯誤的分支。
|
||||
|
||||
### 提交規範
|
||||
### Commit 規範
|
||||
|
||||
你也可以參考 [Angular commit message guidelines](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines)
|
||||
|
||||
- `feat`:新功能
|
||||
- `fix`:錯誤修復
|
||||
- `docs`:文檔更新
|
||||
- `style`:樣式調整
|
||||
- `style`:不影響程式碼含義的更改(空白、格式、缺少分號等)
|
||||
- `refactor`:重構程式碼
|
||||
- `test`:添加或更新測試
|
||||
- `chore`:對構建過程或工具鏈進行更改
|
||||
|
||||
@@ -76,8 +76,7 @@ pnpm build-firefox
|
||||
|
||||
#### 永久分支
|
||||
|
||||
- **Dev**:用呢個分支進行執 bug、新功能嘅開發、改進效能抑或執語系檔(i18n)。
|
||||
- **Main**:主分支,代表穩定同可以發布嘅版本。
|
||||
- **Main**:用呢個分支進行執 bug、新功能嘅開發、改進效能抑或執語系檔(i18n)。
|
||||
|
||||
#### 其他臨時分支
|
||||
|
||||
@@ -85,12 +84,14 @@ pnpm build-firefox
|
||||
- **doc/**:專門愛嚟執文檔,無功能變動嘅分支。
|
||||
- **fix/**:專門愛嚟執 dev 分支上嘅 bug。
|
||||
|
||||
### 提交慣例
|
||||
### Commit 慣例
|
||||
|
||||
你亦可以參考 [Angular commit message guidelines](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines)
|
||||
|
||||
- `feat`:新功能
|
||||
- `fix`:執 bugs
|
||||
- `docs`:文檔更新
|
||||
- `style`:執樣式
|
||||
- `style`:唔影響代碼意思嘅變動(空白、格式、冇咗分號等)
|
||||
- `refactor`:代碼重構
|
||||
- `test`:新增或更新測試
|
||||
- `chore`:對建設過程或工具鏈進行更改
|
||||
|
||||
@@ -76,8 +76,7 @@ Then package it to the `extension-firefox` folder
|
||||
|
||||
#### Permanent Branches
|
||||
|
||||
- **Dev**: Use this branch for bug fixes, developing new features, performance improvements, or modifications to internationalization (i18n) files.
|
||||
- **Main**: Main branch, represents the stable and publishable version.
|
||||
- **Main**: Use this branch for bug fixes, developing new features, performance improvements, or modifications to internationalization (i18n) files.
|
||||
|
||||
#### Other Temporary Branches
|
||||
|
||||
@@ -87,10 +86,12 @@ Then package it to the `extension-firefox` folder
|
||||
|
||||
### Commit Convention
|
||||
|
||||
You can also refer to the [Angular commit message guidelines](https://github.com/angular/angular/blob/22b96b9/CONTRIBUTING.md#-commit-message-guidelines)
|
||||
|
||||
- `feat`: New feature
|
||||
- `fix`: Bug fix
|
||||
- `docs`: Documentation update
|
||||
- `style`: Adjust styles
|
||||
- `style`: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
|
||||
- `refactor`: Code refactoring
|
||||
- `test`: Add or update tests
|
||||
- `chore`: Changes to the build process or toolchain
|
||||
|
||||
Reference in New Issue
Block a user