Skip to content

Instantly share code, notes, and snippets.

@peisenhower
Created June 27, 2017 12:56
Show Gist options
  • Save peisenhower/42aa23790c8c8ec44a1af71fa5e2f706 to your computer and use it in GitHub Desktop.
Save peisenhower/42aa23790c8c8ec44a1af71fa5e2f706 to your computer and use it in GitHub Desktop.
remove merged branches
git branch --merged | egrep -v "(^\*|master|development)" | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment