How I can delete all my local branches in VS 2017, except 'master' and current branch? without 'grep' command. I use with PowerShell in windows.
For some branches I did
git branch -D (git branch --list 2.68*).trim()
and it works.
I want improve it.
Thanks