Skip to content

Instantly share code, notes, and snippets.

@iSapozhnik
Last active February 26, 2019 12:29
Show Gist options
  • Save iSapozhnik/1d4993a116774c15cccb655500b8fb14 to your computer and use it in GitHub Desktop.
Save iSapozhnik/1d4993a116774c15cccb655500b8fb14 to your computer and use it in GitHub Desktop.
Git clean branches
git branch --merged | egrep -v "(^\*|master|develop)" | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment