Skip to content

Instantly share code, notes, and snippets.

@daniel12fsp
Created January 6, 2020 12:49
Show Gist options
  • Save daniel12fsp/c2f1d1d21dc3327e847b42c1a438c91a to your computer and use it in GitHub Desktop.
Save daniel12fsp/c2f1d1d21dc3327e847b42c1a438c91a to your computer and use it in GitHub Desktop.
Delete all old branch
git branch --format ' %(refname:short)' | xargs -n1 -I {} git branch -d {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment