Git/GitHub import from SourceAnywhere

后端 未结 3 1814
一整个雨季
一整个雨季 2020-12-20 02:03

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.

3条回答
  •  死守一世寂寞
    2020-12-20 02:11

    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:

    • Any file that has been deleted in SourceAnywhere will not be imported into the history, at all, due to limitations in the SourceAnywhere API.
    • Any files that were 'moved' can be imported, as long as you provide a mapping for the old/new directories.

    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!

提交回复
热议问题