Having to type git commit -m "Message" all the time has become tiresome, so I started looking up how to create shortcut commands for git.
I found out you can create git aliases with git config --global alias.cm 'commit -m', but I'd still have to do git cm "Message". I want to go even shorter.
After more looking I found out you can create windows shortcuts with the doskey command, but from what I can tell it just creates a shortcut command for an application in the PATH.
How can I create a Windows command so that I can type gcm "Message" and have it behave as if I typed git commit -m "Message"?
Edit:
My question is similar to Aliases in windows command prompt, however, it is different in that I want parameters to be supplied with the shortcut command automatically. The solution in that post requires you to enter all parameters manually, which I'm trying to avoid.