Created
September 21, 2015 20:08
-
-
Save oligriffiths/2fc0767713adf257c11f to your computer and use it in GitHub Desktop.
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
# Remove remote references that have been deleted | |
git fetch -p | |
# Remove local branches that have been merged | |
git branch --merged | grep -v master | xargs git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment