SyntaxFix
Write A Post
Hire A Developer
Questions
You can add it manually in the .gitconfig file
[alias] cm = "commit -m"
Or using the script:
git config --global alias.cm "commit -m"
Here is a screenshot of the .gitconfig
.gitconfig