gitgithubgit-fast-import

Git/GitHub import from SourceAnywhere


We currently use SourceAnywhere Hosted as our version control server. I'm looking to migrate over to GitHub, and would really like to preserve our 8+ year history.

Has anyone else successfully completed this migration and care to share their tools/process?

Now, assuming that this hasn't been done before, I suppose I'm looking at writing a git fast-import script using the SourceAnywhere SDK or command line client. Being new to git, are there any existing scripts or resources you could direct me towards as a starting point?


Solution

  • I've finally cleaned up my project and added it to GitHub. You can find it here: SAWHtoGit.

    It does a pretty good job of exporting the history into logical changesets, with a few small limitations:

    Other than that, it worked well for our purposes and we were able to successfully migrate our code and history to GitHub. I hope it will be useful to others, as well!