git commit command with 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: add description to commit git
git commit -m "Title" -m "Content"
Example 3: git commit
git commit -a -m "The Commit message"
Example 4: git commit message
$ git commit -m"Fix typo in introduction to user guide"
Example 5: git commit with message
git commit -m <msg>
git commit -message=<msg>
Example 6: git commit
//now commit the code
git commit -m "anyMessageYouWantToWrite"