A
A
Alexey Anisimov2015-12-16 14:40:52
git
Alexey Anisimov, 2015-12-16 14:40:52

How to bind 2 SVN and GIT repositories to a project?

Greetings.
I have the following situation - I need to send commits to 2 repositories , one of which is on SVN and the other on GIT .
I can not figure out how to tie them both to the project.
PHP project with Symfony 3 framework.
To work with repositories, I work with SmartGitHG 7 (for mac os x).
Please tell me how to solve this problem correctly.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya, 2015-12-16
@ilivit

I used git-svn for a similar task . Don't know if SmartGitHG can work with it, I worked through SourceTree and console. In general, the svn repository is downloaded via git-svn (in SourceTree this is done in 2 clicks), and then the remote git repository is added. In my case, the repositories were identical, so I just committed to git (maybe I also need to push), and then rebase the commits on the trunk and push the commits.

A
Andrey, 2015-12-16
@VladimirAndreev

and the decision "on the forehead" - in the git to ignore everything SVN'ovskoe, in SVNe - gith and forward. True, you will have to commit twice ... Well, or try to do autocommit in svn with git hooks, if it makes sense ..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question