add gbc to clean up old git branches

This commit is contained in:
Gene Liverman 2018-07-31 10:51:26 -04:00
parent eaaa6f42ac
commit d4ba61d50b
No known key found for this signature in database
GPG key ID: 3AF83985B6C857C6

View file

@ -80,6 +80,7 @@ export SSH_AUTH_SOCK=~/.gnupg/S.gpg-agent.ssh
#alias ll='ls -G -l' #alias ll='ls -G -l'
#alias ls='ls -G' #alias ls='ls -G'
alias biv='bundle install --path=vendor/bundle' alias biv='bundle install --path=vendor/bundle'
alias gbc='git branch --merged | command grep -vE "^(\*|\s*(master|develop|production)\s*$)" | command xargs -n 1 git branch -d'
alias sal='ssh-add -L' alias sal='ssh-add -L'
alias sz='source ~/.zshrc' alias sz='source ~/.zshrc'
alias st='/Applications/SourceTree.app/Contents/MacOS/SourceTree &' alias st='/Applications/SourceTree.app/Contents/MacOS/SourceTree &'