threads / discuss / 23441

Replication of shared repositories

Subject: Replication of shared repositories

## tl;dr

2 messages between Apr 13, 2010 and Apr 15, 2010.

replies: 1people: 2as markdown or json

cdossantos· Apr 13, 2010, 07:45 UTC · lore
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.
Ramkumar Ramachandra· Apr 15, 2010, 04:55 UTC · re: cdossantos · lore

Re: Replication of shared repositories

> 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

← back to recent threads