Skip to content

Instantly share code, notes, and snippets.

@hzm-s
Created August 22, 2020 06:25
Show Gist options
  • Select an option

  • Save hzm-s/9eaf97b6cf6f9adf7a467472196abb6f to your computer and use it in GitHub Desktop.

Select an option

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