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

2 messages from 2007-06-27 to 2007-06-27. Participants: Patrick Doyle, Johannes Schindelin.
Thread: https://gitlist.dev/t/8749

## Patrick Doyle, 2007-06-27 13:25

Subject: Is it possible to "graft" a series of commits into/onto an existing repository?
Message-ID: <e2a1d0aa0706270625o538bff7dib81802f000592e51@mail.gmail.com>
URL: https://gitlist.dev/e/e2a1d0aa0706270625o538bff7dib81802f000592e51%40mail.gmail.com

```
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

```

## Johannes Schindelin, 2007-06-27 13:47

Subject: Re: Is it possible to "graft" a series of commits into/onto an existing repository?
Message-ID: <Pine.LNX.4.64.0706271446310.4438@racer.site>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0706271446310.4438%40racer.site
In-Reply-To: <e2a1d0aa0706270625o538bff7dib81802f000592e51@mail.gmail.com>

```
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

```
