Last active
March 10, 2021 02:26
-
-
Save doxas/cc15a8d75284b9220ec75107917f086b to your computer and use it in GitHub Desktop.
delete branch --marged
This file contains 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
$ # master と develop を除く merge 済みのブランチを一括削除する | |
$ git branch --merged master | grep -vE '^\*|master$|develop$' | xargs -I % git branch -d % |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment