Reputation: 584
Now we're developing an open source mobile analytics in company by using SVN. But now we open source the code in Github.
For the management, we must continue use SVN in office, so how can I get a script or something else to help me get all the changed code from the SVN repository and commit and push it to Github automatically? And that now Github has some old version codes, and our local svn's codes are latest. How can I sync the svn code to Github, from which revision?
Another problem is the Github's folder structures are different from svn's code folder's structures. I need sync some sub-folders together to Github. How can I deal with it?
Thanks.
Upvotes: 0
Views: 429
Reputation: 11977
The svn2git project (version 2.0) appears to be what you need:
As of svn2git 2.0 there is a new feature to pull in the latest changes from SVN into your git repository created with svn2git. This is a one way sync, but allows you to use svn2git as a mirroring tool for your SVN repositories
Upvotes: 1