Skip to content

Commit

Permalink
feat: exclude main from branches to delete
Browse files Browse the repository at this point in the history
  • Loading branch information
st3v3nhunt committed Nov 16, 2020
1 parent cb055f4 commit dbf712d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dotfiles/.aliases
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ alias gaac='git add -A && git commit -m'
alias gcontributors='git log --format='%aN' | sort -fu'
alias gd='git diff'
alias ghi='git hist -n'
alias glbd="git branch | grep -v master | xargs git branch -d"
alias glbD="git branch | grep -v master | xargs git branch -D"
alias glbd="git branch | grep -v -e master -e main | xargs git branch -d"
alias glbD="git branch | grep -v -e master -e main | xargs git branch -D"
alias gmpc='git com && gp && glbd && g rpo'
alias gpuo='git push -u origin $(git rev-parse --abbrev-ref HEAD)'
alias gpuon='gpuo --no-verify'
Expand Down

0 comments on commit dbf712d

Please sign in to comment.