git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ramkumar Ramachandra <artagnon@gmail.com>
To: cdossantos <claudia.dossantos@ricoh-europe.com>
Cc: git@vger.kernel.org
Subject: Re: Replication of shared repositories
Date: Thu, 15 Apr 2010 10:25:39 +0530	[thread overview]
Message-ID: <x2uf3271551004142155g2370b9bam16aa00590ecb3f92@mail.gmail.com> (raw)
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

  reply	other threads:[~2010-04-15  4:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-13  7:45 Replication of shared repositories cdossantos
2010-04-15  4:55 ` Ramkumar Ramachandra [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-04-12 13:14 replication " cdossantos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=x2uf3271551004142155g2370b9bam16aa00590ecb3f92@mail.gmail.com \
    --to=artagnon@gmail.com \
    --cc=claudia.dossantos@ricoh-europe.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).