Last active
August 29, 2015 14:02
-
-
Save luxifer/50f9f5299324599aa822 to your computer and use it in GitHub Desktop.
git branch clean
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
[alias] | |
branch-clean = !git remote prune origin && git branch --merged master | grep -v \"\\*\" | grep -v \"^[[:space:]]*master$\" | xargs -n 1 git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment