Created
June 19, 2019 10:10
-
-
Save daniDLL/2111e89523921742ab9b38a5d1bdec9c to your computer and use it in GitHub Desktop.
Git clean local branches that are not on remote anymore
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 -vv | grep -E "desaparecido|gone" | awk '{print $1}' | xargs -n1 git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment