Skip to contentSkip to conversation

importing svn directori inside git project

DISCUSSION Francesc Guasch 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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-repository-to-a-git-repository/
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 init http://iteleco/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 ?

thank you very much.