Skip to content

Instantly share code, notes, and snippets.

@andrewdelprete
Created August 21, 2015 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewdelprete/80a6faf4b974b33cb740 to your computer and use it in GitHub Desktop.
Save andrewdelprete/80a6faf4b974b33cb740 to your computer and use it in GitHub Desktop.
git - remove merged branches
alias goats="git branch --merged | grep -v \"\*\" | xargs -n 1 git branch -d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment