浏览代码

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'