Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Clean up old git repositories
git branch | grep "some_string_or_pattern" | xargs -n 1 git branch-delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment