Created
July 9, 2019 13:36
-
-
Save karol-pawlowski/5eac31be59dd7c68c6200f657d67bcda to your computer and use it in GitHub Desktop.
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
Write-Host "Removing local branches that were merged to develop" | |
git branch --merged | Where { $_ -NotMatch "(^\*|master|develop|help|remote)" } | %{git branch -d $_.Trim()} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment