Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 835 Bytes

DEV-CHEATSHEET.md

File metadata and controls

38 lines (25 loc) · 835 Bytes

Commit style:

[#<issue1>, #<issue2>, ... ]<type>(<scope>): <hint>

Issue:

Related bugs should be listed at the beginning of comment.

Type:

  1. feature - used when adding a new functionality;
  2. fix - if any serious bug fixed;
  3. docs - changes to the documentation;
  4. typo - fix typos and formatting;
  5. refactor - code refactoring;
  6. test - changes to the test suite;
  7. chore - code maintenance.

Scope

Scope could be anything specifying place of the commit change.

Hint

Use imperative, present tense: “change” not “changed” nor “changes”. Don't capitalize first letter. No dot (.) at the end.

Several changes in single commit

Join comments with '\n'.

Examples:

feature(core): add Jade template engine
#2647 fix(router): fix routing when request method passed in lowercase