I've created a Git Clone of a SVN repository using git-svn. When doing this I specified the --prefix
option to prefix my remote branches. I now want to get rid of this prefix.
Is there a way to update or remove the prefix without re-cloning the repository?
Essentially I did the initial clone using --prefix=Project
so I ended up with Project/trunk
and Project/feature-branch
as my remote tracking branches. What I want is to have the trunk
just be called trunk
and the feature-branch
be called svn/feature-branch
.
trunk
' (without prefix) might not work anymore. See my answer below – Mosesmosey