Skip to content

Instantly share code, notes, and snippets.

@phoenleo
Created April 22, 2019 03:38
Show Gist options
  • Select an option

  • Save phoenleo/ceff5740779a5145b35072824a72dd84 to your computer and use it in GitHub Desktop.

Select an option

Save phoenleo/ceff5740779a5145b35072824a72dd84 to your computer and use it in GitHub Desktop.
Cleanup merged branches in Gitflow
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