简体   繁体   中英

Mirroring git's master branch into SVN

Our team is a big fan of git but unfortunately (for us) our company only uses SVN. I am aware of git svn 's existence, but it doesn't work well with many tools.

To avoid bringing over all our branches to SVN (we use gitflow, so a lot of branches), what I'm looking for is a solution that would mirror my git's repository's master branch (hosted on GitHub or similar) to SVN's trunk.

I am not concerned with my SVN being unaware of the branches we are currently working on.

Ideally, merging to the master branch from develop would result in the code and its history making it to SVN's trunk.

Any idea how to achieve this or something similar?

Since you mention GitHub, git repositories on GitHub can be accessed from a Subversion client . More generally, I've found SubGit to be much better than git-svn for mirroring Git and Subversion.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM