On 15 Jul, 16:44, Konstantin Khomoutov <khomou...@gmail.com> wrote:
> > > > Hi. I have some svn projects I want to join in a git big project.
> >
> > I guess I need to tell git subtree this is a svn subtree but I just
> > don't know how.
> Note that any Git repo can be cloned; local repositories residing on
> your local filesystem are no exception; repos created using git-svn
> are no exception, too.
> So you can do this:
> 1) Create a local Git repo using git-svn;
> 2) Import it using git-subtree passing it the URL of the local Git
> repo created at step (1) as /path/to/the/repo or file:///path/to/the/repo

Hi I still can't manage to add a subtree.
I cloned the repository, I tried two different ways:

  1.  git svn clone http://server/...
  2.  git svn init http://server/...
       git svn fetch

Then when I want to clone it using git subtree I get this message:

  mkdir main
  cd main
  git init
  git subtree add --prefix=prj file://home/path/svnproj

  fatal: Invalid object name 'file'.

If I do:

  git subtree add --prefix=prj /home/path/svnproj

  Error: Use --prefix instead of bare filenames.

I am clueless. Please what am I missing ?

What am O missing ? it looks like git subtree

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