Why does git branch -t fail with "Not tracking: ambiguous information"?
- by che
When I try to create a new branch tracking a remote branch, I get this:
che@nok ~/prj/git-ipc $ git branch -t test main/some_remote_branch
error: Not tracking: ambiguous information for ref refs/remotes/main/some_remote_branch
The source seems to somehow search for branches to track and throws me out because it finds less more than one, but I don't exactly get what it's looking for since I already told it what to track on the command line.
Can anybody tell me what's going on and how to fix it?