This question may be related to the fact that I do not understand how branching works technically in SVN and Git.
But when I use svn2git, some branches are in refs / remotes / and some are not. For example, trunk is / refs / remotes / trunk.
And when I check the main branch in the new git repo, this is not the svn trunk, but some kind of old branch from last year (and it looks like it was chosen completely random). Tags moved correctly.
If I look at svn reverse in Trac, it looks like the layout is correct (trunk, branches, tags) and the points of the connecting lines where they should be. It also looks like branches that are shown correctly (without remotes) are in .git / config, the rest are not.
What happens here and what to do to correctly convert svn repo? Should I just add fixes for remote branches in .git / config? However, this would not solve the problem with the trunk.
EDIT: I just realized something: thres consoles are exactly the same as local branches, with the difference that there is a local branch "master" and a remote branch "consoles / trunk", all the other 19 branches seem similar. The problem seems to be that the master does not indicate a โdistance / torso,โ but rather an accidental commit.
Is this just a bug in svn2git?
git svn
Makis
source share