Cleaning up local branches in git
/If you use posh-git, here's a command to clean up all your merged local branches:
git branch --merged | where {$_ -notmatch 'master'} | % {git branch -d $_.Trim()}
If you use posh-git, here's a command to clean up all your merged local branches:
git branch --merged | where {$_ -notmatch 'master'} | % {git branch -d $_.Trim()}
CodeWise LLC is a small custom software development company located in Boulder, CO.
© 2011 - 2022 CodeWise LLC All Rights Reserved