Must be one of the following:
- build - Build related changes
- chore - Build process or auxiliary tool changes
- docs - Documentation only changes
- feat - A new feature
- fix - A bug fix
- perf - A code change that improves performance
- refactor - A code change that neither fixes a bug or adds a feature
- revert - Reverting things
- style - Markup, white-space, formatting, missing semi-colons...
- test - Adding missing tests
The subject contains a succint description of the change:
- Use the imperative, present tense: "change" not "changed" nor "changes"
- No dot (.) at the end.
A scope may be provided to a commit’s type, to provide additional contextual information and is contained within parenthesis.
Just as in the subject, use the imperative, present tense: "change" not "changed" nor "changes". The body should include the motivation for the change and contrast this with previous behavior.
The 7 rules of a great commit message
- Separate subject from body with a blank line
- Limit the subject line to 50 characters
- Summary in present tense. Not capitalized
- Do not end the subject line with a period
- Use the imperative mood in the subject line
- Wrap the body at 72 characters
- Use the body to explain what and why vs. how
Hey thanks for this, I've formatted the same in the below Gist. Have a look and update in your gist.
Gist link: https://gist.github.com/rex50/8bb8354bdd03b5c33aef7260d5e60bd9