Created
June 26, 2023 14:47
-
-
Save rodrigodiasnoronha/bcc16dab9885841af7b287a15bc156e7 to your computer and use it in GitHub Desktop.
Bash/Powershell apagar todas as branches local, com excessão da master
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 branch |` | |
| %{ $_.Trim() } |` | |
| ?{ $_ -ne 'master' } |` | |
| %{ git branch -D $_ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment