文件中添加

/Users/xxx/.bash_profile

添加别名命令:

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

从新读取配置文件:

source ~/.bash_profile

查看别名配置:

alias

相关文章:

  • 2021-07-11
  • 2022-12-23
  • 2021-05-20
  • 2022-12-23
  • 2021-12-02
  • 2021-09-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-27
  • 2021-06-03
  • 2021-10-17
  • 2021-07-28
  • 2022-12-23
相关资源
相似解决方案