2

I am attempting to convert a svn repository to git. The layout of the svn repo has the branch/tag/trunk. When I do the conversion to git (git svn clone) I have the exact same layout. I get the branch, tag and trunk folders.

I have noticed that many of the recommendations for converting to git state we must clean up the tags to make them git tags. They state that the tags and branches are viewed as remote branches, tags are prefixed with "tag/".

However my ref/remotes folder is completely empty. I see all of my tags located under my "tag' folder. Along with the underlying folder structure and classes.

After a git svn clone what should my git repo look like? Should it in fact have the tags/branch/trunk structure just like my svn repo? Any idea on why I am not getting the tags to come across as others have?

Thanks for your help.

1 Answer 1

4

You need to use the --stdlayout option. Then it will correctly create branches and tags for you.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks I will kick off another one and try with that option.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.