Propose new alias for git branch deletion

This will add two new aliases for `git` to remove a branch.
There is an old alias `gdel` which is not named well because all "branch wise" aliases start with `gb`

So i added two new to delete the branch
`gbd` to remove fully merged branches with upstream
`gbD` to force remove a branch
pull/1023/head
Andreas Frömer 2017-08-17 09:17:12 +02:00 committed by GitHub
parent a6c91f15a0
commit 3f2edd7ba8
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ alias gb='git branch'
alias gba='git branch -a' alias gba='git branch -a'
alias gbt='git branch --track' alias gbt='git branch --track'
alias gbm='git branch -m' alias gbm='git branch -m'
alias gbd='git branch -d'
alias gbD='git branch -D'
alias gcount='git shortlog -sn' alias gcount='git shortlog -sn'
alias gcp='git cherry-pick' alias gcp='git cherry-pick'
alias gco='git checkout' alias gco='git checkout'