git 创建别名

  • git config --global alias.shortname command
  • 例子如下
  • git config --global alias.psm 'push origin master'
  • git config --global alias.plm 'pull origin master'
posted @ 2016-10-19 13:55  梦见舟  阅读(155)  评论(0编辑  收藏  举报