commit message code example

Example 1: git commit messages

Allowed <type> values: #
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)

Example 2: git commit message

$ git commit -m"Fix typo in introduction to user guide"

Example 3: git commit with message

git commit -m <msg> 
git commit -message=<msg>

Example 4: git commit message

git commit -m"message"