Created
August 5, 2013 22:11
-
-
Save mono0926/6160043 to your computer and use it in GitHub Desktop.
clear_unnecessary_branches
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
git branch -r --merged | grep -o "feature\/.*" | while read BRANCH; do git push origin :${BRANCH}; done; unset BRANCH; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment