Created
July 7, 2015 22:18
-
-
Save RomuloOliveira/71aceda5cb946f5ffdf7 to your computer and use it in GitHub Desktop.
Remove branches no longer on remote
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 fetch -p | |
git branch -vvv | grep gone | grep -v master | cut -f 3 -d " " # | xargs git branch -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
very useful, thanks !