There is any way to synchronize GIT and Subversion repositories?

后端 未结 7 554
花落未央
花落未央 2020-12-23 10:17

I want to access a repository using both GIT and SVN clients. A way I imagined to do that is through automatic two-way migration: when a user PUSHes into the GIT repository,

7条回答
  •  清酒与你
    2020-12-23 10:41

    The best way to do this is to use git svn as a Subversion client. This provides two-way integration between a Subversion repository and a Git repository. Once you have a Git repository, you can push that anywhere else to publish it.

    I do this regularly, at work there is a Subversion repository that is the "master" repository, and I usually use git svn to access it. Sometimes if I'm doing things that need more specific Subversion functionality like merging, I'll use the regular svn client against the repository instead.

提交回复
热议问题