【Git】使用 Conventional Commits 規範優化 commit message
本篇重點
- Conventional Commits 是建立在 Git Commit Message 上的輕量規範,讓 Commit 同時具有人類與機器可讀的結構
- 基本格式為
<type>[optional scope]: <description>,body與footer皆為選填 - 彙整主要 commit type 類型及其適用情境
- Conventional Commits 能讓 Commit History 更容易閱讀,還能提供 Changelog、Semantic Versioning、Release 與 CI/CD 自動化所需的結構化資訊




