Thread (12 messages) flat view 12 messages, 6 authors, 2016-06-15

Re: Best way to merge two repos with same content, different history

From: Markus Heidelberg <hidden>
Date: 2016-06-15 22:46:54

Kelly F. Hickel, 05.06.2009:
	Other than using manually format-patch on every branch in new,
then applying the patches (presumably with regular old patch, since the
ancestor commit IDs won't match), is there any "good" way to merge "new"
into "old"?
If rebasing 'new' on top of 'old' isn't an option, then you could try:

    $ git checkout new
    $ git merge -s ours old

It's the other way round (not merging 'new' into 'old', but vice versa),
but there is now merge strategy "theirs".

Markus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help