commit without message code example
Example 1: how to git commit without message
#newer versions of git allow for this
git commit -a --allow-empty-message -m ''
Example 2: git commit
git commit -a -m "The Commit message"
#newer versions of git allow for this
git commit -a --allow-empty-message -m ''
git commit -a -m "The Commit message"