You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
333 B
15 lines
333 B
function gc {
|
|
if [ $? -gt 0 ] ; then
|
|
git commit -a -m "$*"
|
|
else
|
|
git commit -a
|
|
fi
|
|
}
|
|
alias gp='git pull'
|
|
alias gu='git push'
|
|
alias gadd='git add'
|
|
alias gitdiff='git log|grep commit|cut -d " " -f2|head -n 2|xargs -n 2 git diff -R|vimpager'
|
|
function gum() {
|
|
git submodule foreach git pull origin master && git submodule update
|
|
}
|