Вопрос

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

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top