Skip to content

Instantly share code, notes, and snippets.

@jvanderwee
Last active November 16, 2016 14:06
Show Gist options
  • Select an option

  • Save jvanderwee/168fda5a12051f9d6352 to your computer and use it in GitHub Desktop.

Select an option

Save jvanderwee/168fda5a12051f9d6352 to your computer and use it in GitHub Desktop.
Deleted merged local branches
git branch --merged | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment