{"thread":{"id":"20042","subject":"\"Ambiguous information for ref\" error","startedAt":"2009-07-07T02:28:03Z","lastAt":"2009-07-07T02:28:03Z","messageCount":1,"participants":["Tavian Barnes"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"117533","messageId":"add883140907061928v5d3277adyd18371d25affd8ec@mail.gmail.com","threadId":"20042","inReplyTo":null,"subject":"\"Ambiguous information for ref\" error","fromName":"Tavian Barnes","fromEmail":"tavianator@gmail.com","sentAt":"2009-07-07T02:28:03Z","receivedAt":"2009-07-07T02:28:03Z","isPatch":false,"sender":{"key":"tavianator@gmail.com","avatar":null},"body":"So I'm trying to set up a bare repository with a branch that tracks a\nremote ref that isn't the one I'm mirroring.  So, I run\n\ngit clone --mirror <origin> .\ngit remote add -f other <remote>\ngit branch --track other remotes/other/master\n\nBut I'm getting the error \"error: Not tracking: ambiguous information\nfor ref refs/remotes/other/master\".  Googling this error only gave the\nplace in the git source code where it is returned, which seems to\nindicate that it happens when there is more than one tracking match\n(tracking.matches > 1).  But I'm not sure exactly what that means.\nAny advice would be appreciated.  Thanks!\n\n-- \nTavian Barnes\n"}]}