Question

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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top