Pregunta

We want to have a Git architecture like this. Is this possible? How can we configure the communication between the Git servers? Is there any tool available that can automate the pushing from one to another server?

Git server architecture

¿Fue útil?

Solución

Yes, this setup makes sense.

You could automate the push by adding a post-receive hook to the central repository.

Be aware that both server repositories have to be bare in order to reliably push to them. Alternatively you could pull from the second server if it needs an up to date working tree.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top