I\'m trying to delete a remote git branch with
git push origin :my_remote_branch
and getting:
error: unable to push to unq
Had this same issue, I manually edited my ./.git/config
file to include:
[branch "branchName"]
remote = origin
merge = refs/heads/branchName
Which resulted into: error: src refspec branchName matches more than one.
This I fixed by running $git tag -d branchName
.
After which I was able to push the new branch to upstream.