Created
October 12, 2020 07:43
-
-
Save Satak/d319bfb507cac6110d2b311e067d99cb to your computer and use it in GitHub Desktop.
Clean local git branches
This file contains hidden or 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
git fetch --prune;git branch | where {$_ -notmatch 'master'} | %{git branch -D $_.trim()} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment