Is it possible to "graft" a series of commits into/onto an existing repository?

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Is it possible to "graft" a series of commits into/onto an existing repository?

From: Patrick Doyle <hidden>
Date: 2016-06-15 22:43:18

I have an empty directory, managed by git and I want to graft another
(git) repository onto it, such that that history is maintained.  Is
this possible?

--wpd

Re: Is it possible to "graft" a series of commits into/onto an existing repository?

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:43:18

Hi,

On Wed, 27 Jun 2007, Patrick Doyle wrote:
I have an empty directory, managed by git and I want to graft another
(git) repository onto it, such that that history is maintained.  Is
this possible?
Yes. See Documentation/repository-layout.txt for more (look for 
info/grafts).

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