Skip to content

Instantly share code, notes, and snippets.

@DeanPDX
Created May 12, 2020 22:38
Show Gist options
  • Save DeanPDX/ac2ead2c8edb80423887485f01d9d36e to your computer and use it in GitHub Desktop.
Save DeanPDX/ac2ead2c8edb80423887485f01d9d36e to your computer and use it in GitHub Desktop.

In my environment I don't want to delete master/test:

alias gitda="git branch --merged| egrep -v \"(^\*|master|test)\" | xargs git branch -d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment