Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [git] Partial clone possible?

> Wed, 1 Jun 2011 16:54:36 -0500
> On Wed, Jun 1, 2011 at 4:41 PM,  <h3llghost@xxxxxx> wrote:
> > Hi,
> >
> > how can I take a single directory with history from svn to git?
> > At the moment we (20+ people) use SVN with a lot of directories. Some
> directories can be single projects with stand alone repositories.
> > Further more there are directories which contains code fragments, which
> can be used for projects.
> 
> What eclipse.org project is this?
I think you mean which kind of language do you?
It is Java, C++ and so on ...

> You can use svn2git...
>     
> http://wiki.eclipse.org/Git/Migrating_to_Git#Using_svn2git_on_a_remote_server
Thanks for the advice, but it means that the whole svn repo becomes a git repo?

> Once you have something available, I recommend putting it on github
> temporarily to play with.
> 
> > What would be the easiest way to split the svn repo?
> 
> What do you mean by this?
I have a structure like following:

svn
|
|--project abc
|
|--project def
|
|--utils

And my intention is to split all directories in single git repos, because submodules doesn't work in eGit yet and there is no other possible way to checkout only subfolders from git repo.

Cheers,

Chris


Back to the top