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, it is also COMMITed in the SVN repository and vice-versa.
There is any tool that would help me to do that?
git-svn is a specialized tool for Git users to interact with Git repositories. It works by providing a Git frontend to an SVN backend. With git-svn, you use Git commands on the local repository, so it's just like using normal Git. However, behind the scenes, the relevant SVN commands are sent to the server.
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.
There's a new solution that performs exactly what you want --- SubGit. It is concurrent-safe (I can't say the same about git-svn-based bash scripts).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With