原文鏈接: https://juejin.im/post/5afc5242f265da0b7f44bee4
- type: commit 的類型
- feat: 新特性
- fix: 修改問題
- refactor: 代碼重構
- docs: 文檔修改
- style: 代碼格式修改, 注意不是 css 修改
- test: 測試用例修改
- chore: 其他修改, 比如構建流程, 依賴管理.
- scope: commit 影響的范圍, 比如: route, component, utils, build...
- subject: commit 的概述, 建議符合 50/72 formatting
- body: commit 具體修改內容, 可以分為多行, 建議符合 50/72 formatting
- footer: 一些備注, 通常是 BREAKING CHANGE 或修復的 bug 的鏈接.
