Himberjack
Himberjack

Reputation: 5802

svn2git or git svn import

I'm about to migrate my SVN repo to GIT. I'm going to use svn2git which uses the git-svn.

Is there any way the process modifies the SVN repo? Since obviously this is very sensitive to change, I want to be sure that the original SVN will not be affected in any way.

Upvotes: 1

Views: 2171

Answers (2)

Ash Wilson
Ash Wilson

Reputation: 24498

git-svn can commit changes back to svn with git svn dcommit, git svn branch or git svn tag commands, but it doesn't do so unless you explicitly tell it to. svn2git only calls git svn init and git svn fetch, so it won't modify anything in the original repository.

Upvotes: 3

yasouser
yasouser

Reputation: 5187

I haven't used svn2git but I have just done git svn clone <URI to the svn repo> and it has worked perfectly fine for me. No issues at all.

Also see here: How to git-svn clone the last n revisions from a Subversion repository? and here: 8.2 Git and Other Systems - Migrating to Git

Upvotes: 2

Related Questions