Skip to content

Instantly share code, notes, and snippets.

@stephen-puiszis
Created February 25, 2016 17:28
Show Gist options
  • Save stephen-puiszis/19b67f2d1a9c18ba0785 to your computer and use it in GitHub Desktop.
Save stephen-puiszis/19b67f2d1a9c18ba0785 to your computer and use it in GitHub Desktop.
Delete Local Git Branches that have been merged into develop
git branch --merged develop | grep -v '\* develop' | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment