git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* replication of shared repositories
@ 2010-04-12 13:14 cdossantos
  0 siblings, 0 replies; 3+ messages in thread
From: cdossantos @ 2010-04-12 13:14 UTC (permalink / raw)
  To: git


Hi all,

I would like to replicate the contents of my GIT shared repository, a sort
of mirror, but i don't find any references about that. 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 as well
starts a push from the shared repository to another server ?

Thanks in advance,

Santos
-- 
View this message in context: http://old.nabble.com/replication-of-shared-repositories-tp28217574p28217574.html
Sent from the git mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Replication of shared repositories
@ 2010-04-13  7:45 cdossantos
  2010-04-15  4:55 ` Ramkumar Ramachandra
  0 siblings, 1 reply; 3+ messages in thread
From: cdossantos @ 2010-04-13  7:45 UTC (permalink / raw)
  To: git


Hello,


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. 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 ? 

Thanks in advance, 

Santos 
-- 
View this message in context: http://n2.nabble.com/Replication-of-shared-repositories-tp4894649p4894649.html
Sent from the git mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Replication of shared repositories
  2010-04-13  7:45 Replication " cdossantos
@ 2010-04-15  4:55 ` Ramkumar Ramachandra
  0 siblings, 0 replies; 3+ messages in thread
From: Ramkumar Ramachandra @ 2010-04-15  4:55 UTC (permalink / raw)
  To: cdossantos; +Cc: git

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-15  4:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-12 13:14 replication of shared repositories cdossantos
  -- strict thread matches above, loose matches on Subject: below --
2010-04-13  7:45 Replication " cdossantos
2010-04-15  4:55 ` Ramkumar Ramachandra

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).