소스 검색

adjust git submodule commands to `up` and `pull`

On further typing, these are more natural to type.
Weiyi Lou 13 년 전
부모
커밋
b60190d7de
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      zsh/omz-custom/git.zsh

+ 2 - 2
zsh/omz-custom/git.zsh

@@ -32,8 +32,8 @@ alias gsr='git show --format=raw'
 
 # useful if you forget to setup tracking for a new branch when checking out.
 alias track='git branch --set-upstream $(current_branch) origin/$(current_branch) && git fetch'
-alias gsmu='git submodule sync && git submodule update --init'
-alias gsmp='git submodule foreach git pull origin master'
+alias gsmup='git submodule sync && git submodule update --init'
+alias gsmpull='git submodule foreach git pull origin master'
 
 # useful omz git plugin ones include:
 #   ga, gc, gco, gb, gba, gm, grhh, ggpull, ggpush