Migrate from CVS to Git without losing history

后端 未结 8 1624
旧时难觅i
旧时难觅i 2020-12-07 16:41

I need to know if there is a way to migrate my code from CVS source control to Git?

If yes, what about my history of commits?

8条回答
  •  庸人自扰
    2020-12-07 17:35

    I've recently had success and a relatively pleasing experience using the "CVS Remote Access Program", or, well, crap (GitHub).

    It can apparently handle various intricacies of CVS repositories which none/not all of the other conversion tools can, but I'm not well-versed in the details. Like cvs2git, it also follows the path of dump files which are actuall imported into git using git-fast-import.

    The reason I'm suggesting it is that when I found a deficiency in it, I was able to add the capability I was missing to the existing code - and it wasn't so terrible. My PR for that is pending as are a bunch of bug reports.

提交回复
热议问题