简体   繁体   中英

Work with Git and SVN at the same time

I am participing in a Free Software Contest, and we have to use a forge that uses GForge, with only support for SVN, but I will like to use Git (using gitorious) for example.

There is a simple way to get two repositories (one on SVN and other with Git) updated more or less at the same time?

这仍然是一个两步操作,但是git2svn这样的脚本可以帮助你在将提交推送到有价值的Git仓库后快速更新你的svn。

We are doing something on a similar vein, as we wanted to use Gource to show how pretty our source code was.

here is a link to what the gource site suggests

So I setup a scheduled task to perform every 6 hours (you could do yours more often of course) which would use the git svn fetch function to pull the latest revisions from our svn server to our git install.

It may be possible to do it as part of your Constant Build Server functionallity, I think that's the right term? (as your cruise control, teamcity, or other builds you could perform a git conversion).

Cheers

Luke

(PS: never could get the git svn rebase to work properly, so am constantly performing a fetch)

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