Created
February 6, 2015 17:55
-
-
Save trevorgreenleaf/87e93263ba08f24f198e to your computer and use it in GitHub Desktop.
GIT: Clear out all local branches that have been merged into dev
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 checkout dev && git branch --merged dev | grep -v "\* dev" | grep -v "staging" | xargs -n 1 git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment