Browse Source

Silence git-branch-current in aliases

master
Sorin Ionescu 12 years ago
parent
commit
6cf368cf4d
  1. 4
      modules/git/alias.zsh

4
modules/git/alias.zsh

@ -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'

Loading…
Cancel
Save