Created
June 30, 2016 02:35
-
-
Save oshiro-kazuma/995d8fcff7cd0dcbdad8fb49406b3d05 to your computer and use it in GitHub Desktop.
マージ済みのbranchを削除
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
cat << 'EOF' >> ~/.gitconfig | |
[alias] | |
delete-merged-branch = "!f () { git checkout $1; git branch --merged|egrep -v '\\*|develop|master'|xargs git branch -d; };f" | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment