Reputation: 23845
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?
Upvotes: 1
Views: 909
Reputation: 26515
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.
Upvotes: 1