add alias for update submodule, use this for update vim pathoge bundles

pull/62/head
Anton Shemerey 2011-05-27 17:35:25 +03:00
parent b64d4bc0de
commit dd3d283b39
1 changed files with 7 additions and 5 deletions

View File

@ -25,6 +25,7 @@ alias gco='git checkout'
alias gexport='git archive --format zip --output'
alias gdel='git branch -D'
alias gmu='git fetch origin -v; git fetch upstream -v; git merge upstream/master'
alias gsmu="git submodule foreach 'git checkout master && git pull origin master'"
alias gll='git log --graph --pretty=oneline --abbrev-commit'
case $OSTYPE in
@ -68,6 +69,7 @@ function git-help() {
echo " gdel = git branch -D"
echo " gpo = git push origin"
echo " gmu = git fetch origin -v; git fetch upstream -v; git merge upstream/master"
echo " gsmu = git submodule foreach 'git checkout master && git pull origin master'"
echo " gll = git log --graph --pretty=oneline --abbrev-commit"
echo
}