How to delete several remote git branches?
Bash to the rescue - a quick and dirty way. First check what will be deleted - just echo the “git push…” commands. In the example below we will look for all the branches with OLD_BRANCH in the name.
If everything looks OK, then actually run the commands: