Skip to content

Instantly share code, notes, and snippets.

@jeffreyiacono
Created August 19, 2013 03:29
Show Gist options
  • Save jeffreyiacono/6265542 to your computer and use it in GitHub Desktop.
Save jeffreyiacono/6265542 to your computer and use it in GitHub Desktop.
remove all the merged branches
for b in `git branch --merged | grep -v \*`; do git branch -D $b; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment