Skip to content

Instantly share code, notes, and snippets.

@anvyst
Created June 27, 2022 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anvyst/d60917a3bd8e6f3ca863cde16ae73c88 to your computer and use it in GitHub Desktop.
Save anvyst/d60917a3bd8e6f3ca863cde16ae73c88 to your computer and use it in GitHub Desktop.
git-remove-local-non-master-branches
git branch | grep -v "master" | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment