Skip to content

Instantly share code, notes, and snippets.

@Dosant
Created April 28, 2019 13:30
Show Gist options
  • Save Dosant/91c4ad297c343017cec9419cc8129daf to your computer and use it in GitHub Desktop.
Save Dosant/91c4ad297c343017cec9419cc8129daf to your computer and use it in GitHub Desktop.
Delete local branches
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