Skip to content

Instantly share code, notes, and snippets.

@mauricesvay
Created April 29, 2021 12:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauricesvay/1f70eae88be5335f2e0f8d7be16d9c07 to your computer and use it in GitHub Desktop.
Save mauricesvay/1f70eae88be5335f2e0f8d7be16d9c07 to your computer and use it in GitHub Desktop.
Remove deleted branches
git branch -vv | grep 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