git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Replication of shared repositories

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Apr 15, 2010, 04:55 UTC
Message-ID
<x2uf3271551004142155g2370b9bam16aa00590ecb3f92@mail.gmail.com>
In-Reply-To
<1271144720027-4894649.post@n2.nabble.com>
> I would like to replicate the contents of my GIT shared repository to
> another server, a sort of mirror, but i didn't find any references about
> that.
Just push to two different remotes.
> I know that hook scripts run locally. However, could i have a post
> commit script that after a local commit, not only starts a push to the
> shared repository but starts as well a push from the shared repository to
> another server ?
I suppose you could do this.
-- Ram
Previous: cdossantos
Message 2 of 2 in “Replication of shared repositories”
  1. cdossantosApr 13, 2010
  2. Ramkumar RamachandraApr 15, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.