Re: Git: How to keep multiple bare repos in sync?
- From
- Konrad Scherer <konrad.scherer@windriver.com>
- Date
- May 14, 2015, 13:11 UTC
- Message-ID
- <55549F00.5030101@windriver.com>
- In-Reply-To
- <2015051312090840845945@126.com>
On 2015-05-13 12:09 AM, chenxitwo wrote:
> There are three git server(bare repos), but i don't know to solve the > problem that how to keep these git servers in sync.
I am using grokmirror[1] to mirror 600+ git repositories across three datacenters. It syncs quickly and efficiently. The setup is a bit complicated (it requires python, python git libraries and a webserver). There are packages for Fedora. It all depends on how many repos you are trying to mirror.
[1]: https://github.com/mricon/grokmirror