Add bbda for quick branch deletion

Add the `gbda` ("git branch delete all") alias for quickly deleting all branches that have been merged into the current branch.
This commit is contained in:
Scott Berrevoets 2015-04-15 13:31:32 -07:00
commit 20ab4e1c25

View file

@ -55,6 +55,7 @@ compdef _git gb=git-branch
alias gba='git branch -a'
compdef _git gba=git-branch
alias gbr='git branch --remote'
alias gbda='git branch --merged | grep -v "\*" | xargs -n 1 git branch -d'
alias gcount='git shortlog -sn'
compdef gcount=git
alias gcl='git config --list'