git alias command is not working can any one descr

2019-09-08 11:43发布

问题:

This question already has an answer here:

  • How do I alias commands in git? 20 answers

git alias command is not working I tried git alias'cm' commit -m but this is not working for me.

回答1:

#set the alias
git config --global alias.cm "commit -m"

Using it:

git cm "message"


标签: git alias