Silence git-branch-current in aliases

This commit is contained in:
Sorin Ionescu 2012-09-30 15:32:43 -04:00
parent 102da8bea0
commit 6cf368cf4d

View file

@ -104,8 +104,8 @@ alias gpf='git push --force'
alias gpa='git push --all' alias gpa='git push --all'
alias gpA='git push --all && git push --tags' alias gpA='git push --all && git push --tags'
alias gpt='git push --tags' alias gpt='git push --tags'
alias gpc='git push --set-upstream origin "$(git-branch-current)"' alias gpc='git push --set-upstream origin "$(git-branch-current 2> /dev/null)"'
alias gpp='git pull origin "$(git-branch-current)" && git push origin "$(git-branch-current)"' alias gpp='git pull origin "$(git-branch-current 2> /dev/null)" && git push origin "$(git-branch-current 2> /dev/null)"'
# Rebase (r) # Rebase (r)
alias gr='git rebase' alias gr='git rebase'