Mac设置命令别名

文件中添加

/Users/xxx/.bash_profile

添加别名命令:

alias pull='git pull origin' 注意:等号后面不能有空格

从新读取配置文件:

source ~/.bash_profile

查看别名配置:

alias
posted @ 2018-03-25 17:31  代码改变世界-Coding  阅读(1330)  评论(0编辑  收藏  举报