When trying to delete a remote branch I get the following error:
$ git push work :18300-018_5
remote: Processing changes: refs: 1, done
! [remote rejected] 18300-018_5 (can not delete references)
error: failed to push some refs [...]
Any ideas what this means?
That looks like a Gerrit answer, as illustrated in the function parseDelete().
This is link to a push policy controlled by Gerrit.
So unless you activate the “Force option” on this Gerrit category, you won’t be able to delete a branch on that server.