Skip to content

Instantly share code, notes, and snippets.

@CyberStrike
Last active March 2, 2020 18:34
Show Gist options
  • Save CyberStrike/934aee5f75ed7c778a76a72da928c1cd to your computer and use it in GitHub Desktop.
Save CyberStrike/934aee5f75ed7c778a76a72da928c1cd to your computer and use it in GitHub Desktop.
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