git alias command is not working
I tried
git alias'cm' commit -m
but this is not working for me.
Asked
Active
Viewed 175 times
0

Umair Ahmed
- 8,337
- 4
- 29
- 37
-
1This post answers your question well. http://stackoverflow.com/questions/2553786/how-do-i-alias-commands-in-git – Neha Gangwar Jan 14 '16 at 11:39
1 Answers
7
#set the alias
git config --global alias.cm "commit -m"
Using it:
git cm "message"

CodeWizard
- 128,036
- 21
- 144
- 167