Created
September 7, 2016 11:57
-
-
Save marek-pietrzak-tg/e0dc49f9fc416a5d94e5c9e115796ae0 to your computer and use it in GitHub Desktop.
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
git branch --merged | egrep -v '(^\*|master|uat)' | xargs git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fully aggressive version (removes all local git branches apart from
master
anddevelop
: