Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- powershell.exe -Command "git fetch --all; git branch --merged | ForEach-Object { $_.Trim() } | Where-Object {$_ -NotMatch \"^\*\"} | Where-Object {-not ( $_ -Like \"*master\" -or $_ -Like \"*develop\" )} | ForEach-Object { git branch -d $_ }"
Add Comment
Please, Sign In to add comment