On Friday, December 4, 2015 at 7:00:20 AM UTC-6, Rainer M Krug wrote:

> Hi 
>
> I have an git repository which begins with refactored code from a 
> different project. The refactored code is only available as the latest 
> version due to git and svn hosters which shutdown and I missed 
> notifications as well as a stolen hard drive on which the local repos 
> were. 
>
> I now did some cleaning up of the older code and created a git repo for 
> it. 
>
> Further development happened in a new repo with the first commit being 
> refactored code. After that, several commits were done. 
>
> So: I now have a repo A which contains old history, and a repo B which 
> effectively starts where repo A ends. 
>
> To simplify things, I would like to combine these two, i.e. have one 
> repo (let's call it AB) which contains the complete history of the two 
> repos, (beginning of A until end of B) and in which I can tag the end of 
> A. 
>
> But I have no idea if this is possible or if h=yes, how I can do this. 
>
> Any help welcome, 
>
> Thanks, 
>
> Rainer 
>
>
> -- 
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation 
> Biology, UCT), Dipl. Phys. (Germany) 
>
> Centre of Excellence for Invasion Biology 
> Stellenbosch University 
> South Africa 
>
> Tel :       +33 - (0)9 53 10 27 44 
> Cell:       +33 - (0)6 85 62 59 98 
> Fax :       +33 - (0)9 58 10 27 44 
>
> Fax (D):    +49 - (0)3 21 21 25 22 44 
>
> email:      rai...@krugs.de <javascript:> 
>
> Skype:      RMkrug 
>
> PGP: 0x0F52F982 
>

It seems to me you must choose between

1. rewriting your history of B on top of A
   (resulting in one linear history x...A...B')

2. merge your two repos
   (resulting in merge M with parents HEAD(A) and HEAD(B))

Once you decide the recipe will follow
-- 
Quentin
 

-- 
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/d/optout.

Reply via email to