Re: [git-users] fixing detached branches left after svn2git
W dniu 07.02.2013 22:22, Philip Oakley pisze: > > From: Julian Sikorski > Sent: Thursday, February 07, 2013 9:00 PM > Hi, > > I have migrated an SVN repository to git using svn2git. The problem is > that, for some reason, the branching points did not get ported over, so > now I have the branches sort of parallel to one another. Is there a way > to add the missing branching point? Thanks in advance. > -- > If you know where they are, you can use Grafts to create the linkages > (which are simply sha1 pairs), and then use 'git filter-branch' to bake > them in. Though they may be too numerous for sort out this way. > > Grafts are not portable until 'baked in'. The filter-branch (baking in) > will update all the sha1 so you get a new contiguous DAG (directed > acyclic graph, aka the branching tree of commit linkages, > http://think-like-a-git.net/) Hmm, there are only two branching points involved, so it sounds doable. Thanks! Julian > > Philip > -- > > > Regards, > Julian -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [git-users] fixing detached branches left after svn2git
From: Julian Sikorski Sent: Thursday, February 07, 2013 9:00 PM Hi, I have migrated an SVN repository to git using svn2git. The problem is that, for some reason, the branching points did not get ported over, so now I have the branches sort of parallel to one another. Is there a way to add the missing branching point? Thanks in advance. -- If you know where they are, you can use Grafts to create the linkages (which are simply sha1 pairs), and then use 'git filter-branch' to bake them in. Though they may be too numerous for sort out this way. Grafts are not portable until 'baked in'. The filter-branch (baking in) will update all the sha1 so you get a new contiguous DAG (directed acyclic graph, aka the branching tree of commit linkages, http://think-like-a-git.net/) Philip -- Regards, Julian -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] fixing detached branches left after svn2git
Hi, I have migrated an SVN repository to git using svn2git. The problem is that, for some reason, the branching points did not get ported over, so now I have the branches sort of parallel to one another. Is there a way to add the missing branching point? Thanks in advance. Regards, Julian -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.