Created
July 3, 2018 19:47
-
-
Save tgodfrey/63a5f1caad26b954d95ca952b80b5dbc to your computer and use it in GitHub Desktop.
clean up local git 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
http://erikaybar.name/git-deleting-old-local-branches/ | |
git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}' | xargs git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment