Created
January 12, 2017 13:29
-
-
Save m3dwards/3c55f32db352470e7f64fb29d26e6eac to your computer and use it in GitHub Desktop.
Deletes all local git branches containing a keyword
This file contains 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
#! /bin/bash | |
git branch | grep "LPA" | xargs git branch -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment