git alias命令不起作用任何人都可以描述我的git alias命令的语法 [英] git alias command is not working can any one describe me syntax of git alias command

查看:168
本文介绍了git alias命令不起作用任何人都可以描述我的git alias命令的语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

git alias命令不工作
我尝试了
git alias'cm'commit -m
但这不适用于

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

推荐答案

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



使用它:



Using it:

git cm "message"

这篇关于git alias命令不起作用任何人都可以描述我的git alias命令的语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆