文件中添加
/Users/xxx/.bash_profile
添加别名命令:
alias pull='git pull origin' 注意:等号后面不能有空格
从新读取配置文件:
source ~/.bash_profile
查看别名配置:
alias
本文共 180 字,大约阅读时间需要 1 分钟。
文件中添加
/Users/xxx/.bash_profile
添加别名命令:
alias pull='git pull origin' 注意:等号后面不能有空格
从新读取配置文件:
source ~/.bash_profile
查看别名配置:
alias
转载于:https://www.cnblogs.com/vitasyuan/p/8645610.html