Skip to content

Instantly share code, notes, and snippets.

@Vopaaz
Created June 28, 2020 10:16
Show Gist options
  • Save Vopaaz/ee41d7764c7586c8552571f2eeb66516 to your computer and use it in GitHub Desktop.
Save Vopaaz/ee41d7764c7586c8552571f2eeb66516 to your computer and use it in GitHub Desktop.
Delete all local branches except for 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