Skip to content

Instantly share code, notes, and snippets.

@achmadfatoni
Last active August 26, 2016 04:56
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 achmadfatoni/d41370ee07f42834c1e532158b3b8a76 to your computer and use it in GitHub Desktop.
Save achmadfatoni/d41370ee07f42834c1e532158b3b8a76 to your computer and use it in GitHub Desktop.
Delete all merged local branch
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