Skip to content

Instantly share code, notes, and snippets.

@aconstantin
Created December 10, 2021 14:18
Show Gist options
  • Save aconstantin/3c2bed451c7336b017659fe5988f2632 to your computer and use it in GitHub Desktop.
Save aconstantin/3c2bed451c7336b017659fe5988f2632 to your computer and use it in GitHub Desktop.

Delete all remote branches from renovate

git branch -r | awk -F/ '/\/renovate/{print $2"/"$3}' | xargs -I {} git push origin :{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment