On Jul 12, 12:10 pm, frankie <frankie.gua...@gmail.com> wrote:

> Hi. I have some svn projects I want to join in a git big project.
> I've been trying with guidelines from the git faq and from
>  http://www.jonmaddox.com/2008/03/05/cleanly-migrate-your-subversion-r...
> but I'm not able to do it.
> So I have a new git project I make it like this:
>   $ mkdir project
>   $ cd project
>   $ git init
> Then I want to import the svn project. If I do this I get the files:
>   $ mkdir subproject1
>   $ cd subproject1
>   $ git-svn inithttp://my.svn.server/repos/vnproject--no-metadata
>   $ git config svn.authorsfile ~/users.txt
>   $ git-svn fetch
> Now I have all the files inside subproject1 but the main git project
> does not know anything about them. It looks like I should add all of
> them but I will lose all the svn history.
> Is it possible to do what I want ?

It's not quite clear what do you want to achieve.
git-svn allows to sync the development with a subversion repository in
both directions. Or you can just import the history and then develop
in Git solely.

Assuming you want to do the latter, I think git-subtree [1] can be of
help: as I understand, it allows you to "inject" a subtree to a bigger

If you want to have your project as a running Subversion checkout, you
possibly should look at `git submodule` command (see [2] for
instance). I don't know whether submodules play together with git-svn

1. http://github.com/apenwarr/git-subtree/
2. http://progit.org/book/ch6-6.html

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to