# Merging some existing svn code

2 messages from 2011-07-04 to 2011-07-04. Participants: Howard Miller, Christof Krüger.
Thread: https://gitlist.dev/t/27751

## Howard Miller, 2011-07-04 12:59

Subject: Merging some existing svn code
Message-ID: <CAHVO_930ECHRYR7RsKGa61OtBhwyFA5Mt9NxpD6Ysq9jJBgk-g@mail.gmail.com>
URL: https://gitlist.dev/e/CAHVO_930ECHRYR7RsKGa61OtBhwyFA5Mt9NxpD6Ysq9jJBgk-g%40mail.gmail.com

```
Firstly I have an application "under" git....  years ago I wrote a
plugin for the app (and by that I mean that it does not affect the
main code in any way) and that used svn. I've cloned the svn
repository using git svn so I have the history. I'd like to pull this
into the main project by moving the history onto a new branch. There
will be no merge issues but I'm unsure of the steps to take. The file
structure is not the same as the svn repository only covered the
required directory.

Any help appreciated.

```

## Christof Krüger, 2011-07-04 16:00

Subject: Re: Merging some existing svn code
Message-ID: <1309795202.18226.3.camel@oxylap>
URL: https://gitlist.dev/e/1309795202.18226.3.camel%40oxylap
In-Reply-To: <CAHVO_930ECHRYR7RsKGa61OtBhwyFA5Mt9NxpD6Ysq9jJBgk-g@mail.gmail.com>

```
On Mo, 2011-07-04 at 13:59 +0100, Howard Miller wrote:
> Firstly I have an application "under" git....  years ago I wrote a
> plugin for the app (and by that I mean that it does not affect the
> main code in any way) and that used svn. I've cloned the svn
> repository using git svn so I have the history. I'd like to pull this
> into the main project by moving the history onto a new branch. There
> will be no merge issues but I'm unsure of the steps to take. The file
> structure is not the same as the svn repository only covered the
> required directory.
Sounds like a subtree merge could help you, see [1].
Just ask if there is anything in the description that doesn't work for
you.

Regards,
  Chris

[1]
http://www.kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html

```
