Fix gbda alias to support color.ui = always + exclude dev branches (#4304)

* Fix gbda alias to support git config color.ui = always
* Update gbda alias to exclude develop and dev branches
This commit is contained in:
Cédric Malard 2016-08-01 18:16:54 +02:00 committed by Marc Cornellà
parent 508b80c1e1
commit f5537241a4

View File

@ -46,7 +46,7 @@ alias gapa='git add --patch'
alias gb='git branch'
alias gba='git branch -a'
alias gbda='git branch --merged | command grep -vE "^(\*|\s*master\s*$)" | command xargs -n 1 git branch -d'
alias gbda='git branch --no-color --merged | command grep -vE "^(\*|\s*(master|develop|dev)\s*$)" | command xargs -n 1 git branch -d'
alias gbl='git blame -b -w'
alias gbnm='git branch --no-merged'
alias gbr='git branch --remote'