git branch | grep -v "master" | xargs git branch -D
- will delete all branches except master
Created
April 15, 2019 12:33
-
-
Save iamnnort/7bbbd2d71db4bde73f611d382a77bcc6 to your computer and use it in GitHub Desktop.
Git tooltips
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment