Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Can someone tell me the steps on how to migrate svn to git? I have repositories in svn and I want to move all them to git without the loss of data.

share|improve this question

closed as off-topic by Patrick, slm, Anthon, jasonwryan, Michael Mrozek Dec 11 '13 at 18:48

  • This question does not appear to be about Unix or Linux within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

    
This would be much more appropriate for stackoverflow. Stackoverflow is for things related to development, including the tools used (there are a lot of VCS questions there). SVN & GIT are not specific to unix or linux. –  Patrick Dec 11 '13 at 13:59
1  
SO has this covered in several questions, including some of the pitfalls to beware of. Instead of linking to individual questions (there are a bunch), here is a search result page: stackoverflow.com/search?q=svn+git+migrate –  derobert Dec 11 '13 at 18:41
    
This question appears to be off-topic because it isn't about Unix/Linux. –  Michael Mrozek Dec 11 '13 at 18:48

2 Answers 2

Consult svn2git that provides you with all the steps. necessary:

  • svn2git http://svn.example.com/path/to/repo --metadata

this is assuming you don't want to update any more changes made later to svn.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.