Skip to content

Instantly share code, notes, and snippets.

@rhysforyou
Last active November 26, 2018 17:25
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 rhysforyou/befba5d99c610f73ea5dfd1cda34f681 to your computer and use it in GitHub Desktop.
Save rhysforyou/befba5d99c610f73ea5dfd1cda34f681 to your computer and use it in GitHub Desktop.
git branch --merged | grep -Ev "\*|master|develop" | xargs -n 1 git branch -d $argv;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment