Created
January 27, 2022 08:29
-
-
Save perrmadiafrrian/0fbd08410e8ba831dc00de7efc9b042a to your computer and use it in GitHub Desktop.
Revisions
-
perrmadiafrrian revised this gist
Jan 27, 2022 . No changes.There are no files selected for viewing
-
perrmadiafrrian created this gist
Jan 27, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ #!/bin/sh git for-each-ref --format '%(refname:short)' refs/heads | grep -v "master\|main" | xargs git branch -D