add alias for update submodule, use this for update vim pathoge bundles
parent
b64d4bc0de
commit
dd3d283b39
|
|
@ -25,6 +25,7 @@ alias gco='git checkout'
|
||||||
alias gexport='git archive --format zip --output'
|
alias gexport='git archive --format zip --output'
|
||||||
alias gdel='git branch -D'
|
alias gdel='git branch -D'
|
||||||
alias gmu='git fetch origin -v; git fetch upstream -v; git merge upstream/master'
|
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'
|
alias gll='git log --graph --pretty=oneline --abbrev-commit'
|
||||||
|
|
||||||
case $OSTYPE in
|
case $OSTYPE in
|
||||||
|
|
@ -68,6 +69,7 @@ function git-help() {
|
||||||
echo " gdel = git branch -D"
|
echo " gdel = git branch -D"
|
||||||
echo " gpo = git push origin"
|
echo " gpo = git push origin"
|
||||||
echo " gmu = git fetch origin -v; git fetch upstream -v; git merge upstream/master"
|
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 " gll = git log --graph --pretty=oneline --abbrev-commit"
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue