I am using git-svn repo on Windows, using msysgit 1.8.5. Here is my .git/config
:
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[svn-remote "svn"]
url = https://svn.domain.com:8443/svn
fetch = trunk:refs/remotes/trunk
branches = branches/{BR_4_1_4}:refs/remotes/branches/*
And my list of branches:
$ git branch -a
BR_4_1_4
* trunk
remotes/branches/BR_4_1_4
remotes/trunk
And I want to create a branch off of trunk
named trunk_work
, so I issue the following command (you can also see the subsequent error):
$ git branch trunk_work
warning: refname 'trunk' is ambiguous.
fatal: Ambiguous object name: 'trunk'.
Any idea why this is failing? I Googled a bit but didn't see anything specific to this problem. Thanks in advance.