I sometimes end up with a bunch of local git branches that I want to get rid of and this little bit of powershell does exactly that
git branch | %{ $_.Trim() } | ?{ $_ -ne 'master' } | %{ git branch -D $_ }
I sometimes end up with a bunch of local git branches that I want to get rid of and this little bit of powershell does exactly that
git branch | %{ $_.Trim() } | ?{ $_ -ne 'master' } | %{ git branch -D $_ }
For further actions, you may consider blocking this person and/or reporting abuse
Prajwol Shrestha -
Nitzan Ohana -
Ishmam Abir | イシュマム・アビル -
Wisdom Ehirim -
Top comments (0)