[git] added alias to update submodules

This commit is contained in:
Nick Nisi
2012-07-03 08:29:46 -05:00
parent d618c03d2a
commit 7094add10e

View File

@@ -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() {