Created
February 1, 2019 07:41
-
-
Save omkar-dsd/1ce6876da7e3b9f6fff331a131dfd47e to your computer and use it in GitHub Desktop.
Script to SAFE delete all existing branches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for b in `git branch` | |
| do | |
| `git branch -d $b` | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment