Created
December 16, 2025 02:42
-
-
Save tksugimoto/1b3ceba8aa591b88feb16a1639805e7a to your computer and use it in GitHub Desktop.
[Git] 不要なローカルブランチを削除する
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 --verbose --verbose | grep ': gone] ' | sed 's/^ *\| *$//' | cut --fields=1 --delimiter=" " | xargs git branch --delete --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment