Created
April 13, 2022 08:19
-
-
Save book000/5e2cae76f0265de1e38c88484d7ac3d9 to your computer and use it in GitHub Desktop.
マージ済みローカルブランチを削除する (WSL利用)
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
@echo off | |
git fetch --all | |
git checkout master | |
git fetch --prune | |
bash -c "git branch --merged | egrep -v '\*|develop|main|master'| xargs git branch -d" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment