I'm attempting to move an svn repository to a git repository. I don't want to use svn anymore so I am using the no-metadata option. I'm curious why, after doing git svn fetch there are only remote refs created to my branches. I'm creating the repo using:
git svn init -s --username=$SVNUSER --no-metadata http://URLTOSVN/$REPO
git config svn.authorsfile ../$USERFILE
git svn fetch
after running the fetch, if I look at the branches I have:
prompt$ git branch -a
* master
remotes/BRANCH_1
remotes/BRANCH_2
remotes/trunk
I need BRANCH_1 and BRANCH_2 branches but it doesn't seem to be creating them. Now when I clone this using the --bare option so I can host it in my central repo it ignores those remote refs and my resulting git repo has no knowledge of those branches as far as I can tell. I need those branches in my resulting repo. What am I missing?