From 7094add10e39d191708570aaa5a55c6f217c6b04 Mon Sep 17 00:00:00 2001 From: Nick Nisi Date: Tue, 3 Jul 2012 08:29:46 -0500 Subject: [PATCH] [git] added alias to update submodules --- git/git.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/git/git.zsh b/git/git.zsh index 0f233f8..20fab52 100644 --- a/git/git.zsh +++ b/git/git.zsh @@ -14,6 +14,7 @@ alias grm='git rm' alias grn='git_rename' alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative" +alias sub-pull='git submodule foreach git pull origin master' # a simple git rename file function # git does not track case-sensitive changes to a filename. function git_rename() {