We are working on a project where we are required to use Subversion as our version control system. We are all comfortable with it, but, on the holidays we would like to go out of town to focus on development. The problem is, there is a high probability not to have internet access where we're going. Since we still want to maintain code history, I was thinking if there was a way to export our current Subversion history to a git repository and then export our git history to the existing Subversion repo (this repo already has history on it).
Is there a way to do that?
Thanks!
git works perfectly fine with a svn repository on the other side, why not benefit from that? Certainly possible, and a fair move towards your colleagues, not to push unfinished changes. however there is one huge danger hidden in there: you will tend to make very few commits to the companies repository.
When moving to Git from another version control system like Subversion (SVN), we generally recommend that you perform a "tip migration", which migrates just the latest version of the repository contents, without including history.
First Rule of Git: if you can think of it, Git can do it. Have a look at git-svn.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With