Last active
June 19, 2020 15:05
-
-
Save Gummibeer/ec72373eb637f8178b6f70fa4d2e7d13 to your computer and use it in GitHub Desktop.
git_delete_untracked_branches.sh
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
# EN | |
git checkout master && git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D | |
# DE | |
git checkout master && git fetch -p && git branch -vv | awk '/: entfernt]/{print $1}' | xargs git branch -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gummibeer/dotfiles@058c1fb