Skip to content

Instantly share code, notes, and snippets.

@filipemansano
Forked from fbn4sc/command.txt
Last active April 15, 2020 13:50
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 filipemansano/b596cd5cbcc9ace13a4bed513fab1071 to your computer and use it in GitHub Desktop.
Save filipemansano/b596cd5cbcc9ace13a4bed513fab1071 to your computer and use it in GitHub Desktop.
Delete all branches except master, QA and development.
git branch | grep -v "master\|development|qa" | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment