Skip to content

Instantly share code, notes, and snippets.

@hzm-s
Created August 22, 2020 06:25
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 hzm-s/9eaf97b6cf6f9adf7a467472196abb6f to your computer and use it in GitHub Desktop.
Save hzm-s/9eaf97b6cf6f9adf7a467472196abb6f to your computer and use it in GitHub Desktop.
Delete git branches
git branch | grep -v master | sed s/^..// | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment