Skip to content

Instantly share code, notes, and snippets.

@okabe-yuya
Created December 13, 2021 09: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 okabe-yuya/2242d5e8166b756b2900b25a08718c53 to your computer and use it in GitHub Desktop.
Save okabe-yuya/2242d5e8166b756b2900b25a08718c53 to your computer and use it in GitHub Desktop.
delete branches(avoid master)
git branch | grep -ve " master$" | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment