Skip to content

Instantly share code, notes, and snippets.

@anvk
Created May 1, 2018 13:41
Show Gist options
  • Save anvk/0de557ae14706c71093d559addd4d28c to your computer and use it in GitHub Desktop.
Save anvk/0de557ae14706c71093d559addd4d28c to your computer and use it in GitHub Desktop.
Delete all Git local branches except of develop
git branch | grep -v "develop" | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment