Is it possible to set a dual master GIT repositories? I would like to set up two different servers which I could push and commit to and changes on any of them would be propagated to the other.

I've googled for it, but the most similar solution I've found is Gerrit2, but it does only one way replication (master -> master).

Does anybody know if this is even possible to do with git? If so, could you please tell me which tools to use?

Thanks in advance.

link|improve this question

feedback

1 Answer

up vote 2 down vote accepted

You could begin creating a solution yourself using post-commit hooks, but that's more of a stackoverflow thing.

link|improve this answer
Thanks for your response. I'll take a look at that hooks thing. – Fran Apr 28 '10 at 13:45
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.