How to synchronize a GIT repository with SVN?

后端 未结 2 2072
无人共我
无人共我 2021-01-15 08:49

I am planning to make a fork of an open-source project, but I want to switch to GIT. The project is using SVN, but there is no TRAC available, so I can\'t just download chan

2条回答
  •  不知归路
    2021-01-15 09:29

    If you have an access to your SVN repository you may install SubGit into it. Just run

    $ subgit install path/to/your/svn/repostiory
    

    All the synchronization will be performed automatically (triggered by SVN and Git hooks). In this case not only master/trunk but all the branches will be in sync (though you can configure its behaviour).

    Disclaimer: I'm one of the developers of this product.

提交回复
热议问题