Created
August 19, 2020 15:45
-
-
Save J-Swift/6086ee0fd99dff9413ed86e4e3fbc6fb to your computer and use it in GitHub Desktop.
Delete merged git feature branches in powershell
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
git branch --merged | Select-String -Pattern 'feature' | %{ git branch -d $_.Line.Trim() } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment