Fork me on GitHub

Git: warning: refname 'remote/branch' is ambiguous

warning: refname 'origin/release-1.1.0' is ambiguous.
fatal: Ambiguous object name: 'origin/release-1.1.0'.

This error means that there's a local branch called origin/release-1.1.0, as well as a remote one with the same name in the origin remote.
This is probably due to some mistake while using git commands.

To fix the error simply delete the local branch:
git br -d origin/release-1.1.0