Skip to content

Instantly share code, notes, and snippets.

@lvnam96
Created February 11, 2025 06:58
Show Gist options
  • Save lvnam96/8f1fcd7d1699a56ae5a6fd3d3315db07 to your computer and use it in GitHub Desktop.
Save lvnam96/8f1fcd7d1699a56ae5a6fd3d3315db07 to your computer and use it in GitHub Desktop.
<type>(<scope>): <short summary>
│ │ │
│ │ └─⫸ Summary in present tense. Not capitalized. No period at the end.
│ │
│ └─⫸ Commit Scope: animations|bazel|benchpress|common|compiler|compiler-cli|core|
│ elements|forms|http|language-service|localize|platform-browser|
│ platform-browser-dynamic|platform-server|router|service-worker|
│ upgrade|zone.js|packaging|changelog|docs-infra|migrations|
│ devtools
└─⫸ Commit Type: build|ci|docs|feat|fix|perf|refactor|test|chore|style|revert
build – changes that affect the build system or external dependencies
ci – continuous integration related
docs – updates to documentation such as a the README or other markdown files
feat – a new feature is introduced with the changes
fix – a bug fix has occurred
perf – performance improvements
refactor – refactored code that neither fixes a bug nor adds a feature
test – including new or correcting previous tests
chore – changes that do not relate to a fix or feature and don't modify src or test files (for example updating dependencies)
style – changes that do not affect the meaning of the code, likely related to code formatting such as white-space, missing semi-colons, and so on.
revert – reverts a previous commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment