# "Ambiguous information for ref" error

1 messages from 2009-07-07 to 2009-07-07. Participants: Tavian Barnes.
Thread: https://gitlist.dev/t/20042

## Tavian Barnes, 2009-07-07 02:28

Subject: "Ambiguous information for ref" error
Message-ID: <add883140907061928v5d3277adyd18371d25affd8ec@mail.gmail.com>
URL: https://gitlist.dev/e/add883140907061928v5d3277adyd18371d25affd8ec%40mail.gmail.com

```
So I'm trying to set up a bare repository with a branch that tracks a
remote ref that isn't the one I'm mirroring.  So, I run

git clone --mirror <origin> .
git remote add -f other <remote>
git branch --track other remotes/other/master

But I'm getting the error "error: Not tracking: ambiguous information
for ref refs/remotes/other/master".  Googling this error only gave the
place in the git source code where it is returned, which seems to
indicate that it happens when there is more than one tracking match
(tracking.matches > 1).  But I'm not sure exactly what that means.
Any advice would be appreciated.  Thanks!

-- 
Tavian Barnes

```
