I have two repositories A and B. A is my working repository. B is a bare
repository containing a more detailed history than A. This is illustrated
in the following simplified graphs.
*Repository A:*
<tagA] <tagD]
/ /
A1--------D1---------E--F--G [master]
\ \
H--I--J [topic]
*Repository B:*
<tagA] <tagD]
/ /
A2---B2--C2--D2
What I want is in repository A to replace history A1 thru D1 by history A2
thru D2:
*New repository A:*
<tagA] <tagD]
/ /
A2---B2--C2--D2------E--F--G [master]
\ \
H--I--J [topic]
Notice that both histories use identical tag names for tagging versions!
My first idea is to set repository B as a remote to repository A, then
fetch from B, rebase E onto D2, then prune A1 thru D1. But wouldn't
fetching from repository B cause the tag names to clash?
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.