Created
January 13, 2016 22:04
-
-
Save srkirkland/63ed5730da1bf607a4b3 to your computer and use it in GitHub Desktop.
delete merged branches powershell
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
git branch --merged | ?{-not ($_ -like "*master")} | %{git branch -d $_.trim()} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment