I would like to execute a single command which deletes branches on the remote that follow a certain pattern.
Example use case:
Delete all branches on origin that begin with v1/.
If possible, it would be nice to enhance this command with a safety check: only delete branches which have been merged into master.