Skip to content

Instantly share code, notes, and snippets.

@pepeloper
Created July 18, 2018 07:39
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 pepeloper/17f741267d883856d3d36a48b8e9f760 to your computer and use it in GitHub Desktop.
Save pepeloper/17f741267d883856d3d36a48b8e9f760 to your computer and use it in GitHub Desktop.
Delete merged branchs
git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment