Skip to content

Instantly share code, notes, and snippets.

@Kraloz
Created June 3, 2021 17:20
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 Kraloz/414179564650077ca55e27352d3f3877 to your computer and use it in GitHub Desktop.
Save Kraloz/414179564650077ca55e27352d3f3877 to your computer and use it in GitHub Desktop.
delete all branches but master
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