I\'m trying to delete a remote git branch with
git push origin :my_remote_branch
and getting:
error: unable to push to unq
This worked for me: I created the remote branch on github UI and then pushed my local branch which had the same name to it. Try it in case other ways dont work. Other way would be creating a new branch locally and pushing an empty branch and later cherry-pick your commit and push again to your remote.