Skip to content

Instantly share code, notes, and snippets.

@a7p11t
Last active June 8, 2022 14:38
Show Gist options
  • Select an option

  • Save a7p11t/e55f1bb1928e7cf64aed01f315ae0ba9 to your computer and use it in GitHub Desktop.

Select an option

Save a7p11t/e55f1bb1928e7cf64aed01f315ae0ba9 to your computer and use it in GitHub Desktop.
COMMIT.md

Commit Message Conventions

These rules are adopted from Semantic Commit Messages and the AngularJS commit conventions.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

feat: Add hat wobble
^--^  ^------------^
|     |
|     +-> Summary in present tense. Capitalized. No period at the end. 
|
+-------> Type: chore, docs, feat, fix, refactor, style, or test.

More Examples:

  • feat: (new feature for the user, not a new feature for build script)
  • fix: (bug fix for the user, not a fix to a build script)
  • docs: (changes to the documentation)
  • style: (formatting, missing semi colons, etc; no production code change)
  • refactor: (refactoring production code, eg. renaming a variable)
  • test: (adding missing tests, refactoring tests; no production code change)
  • chore: (updating grunt tasks etc; no production code change)

References:

@a7p11t
Copy link
Copy Markdown
Author

a7p11t commented Jun 8, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment