Вопрос

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.

Это было полезно?

Решение

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.

Другие советы

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top