소스 검색

Update `gsmup` to also clone submodules of submodules

Weiyi Lou 10 년 전
부모
커밋
54f2373399
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zsh/custom/git.zsh

+ 1 - 1
zsh/custom/git.zsh

@@ -65,7 +65,7 @@ alias glg='git log --grep' # search commit MESSAGES.
 # git submodule management.
 alias gsm='git submodule'
 alias gsmpull='git submodule foreach git pull'
-alias gsmup='git submodule sync && git submodule update --init'
+alias gsmup='git submodule sync && git submodule update --init --recursive'
 
 # fix tracking for origin if not there.
 alias track='git branch --set-upstream-to origin/$(current_branch) && git fetch'