Skip to content

Instantly share code, notes, and snippets.

@doyle
Created February 14, 2025 14:31
Show Gist options
  • Save doyle/9e54f68f8bcb5ab74ceed6910f5e8aee to your computer and use it in GitHub Desktop.
Save doyle/9e54f68f8bcb5ab74ceed6910f5e8aee to your computer and use it in GitHub Desktop.
Delete all git branches matching a prefix
git branch -D `git branch | grep <prefix>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment