Skip to content

Instantly share code, notes, and snippets.

Created May 2, 2019
What would you like to do?
alias gcmld='git checkout master && git pull && comm -12 <(git branch | sed "s/ *//g") <(git remote prune origin --dry-run | sed "s/^.*origin\///g") | xargs -I{} git branch -D {}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment