Added gluc command to git plugin

The useful command pulls the current branch from the upstream.
This commit is contained in:
Itay Weiss 2017-09-28 17:39:54 +03:00 committed by GitHub
parent accdcb2f1c
commit 7fc917bd45

View File

@ -236,6 +236,7 @@ alias gunwip='git log -n 1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1'
alias gup='git pull --rebase'
alias gupv='git pull --rebase -v'
alias glum='git pull upstream master'
alias gluc='git pull upstream $(git_current_branch)'
alias gwch='git whatchanged -p --abbrev-commit --pretty=medium'
alias gwip='git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify -m "--wip-- [skip ci]"'