{"thread":{"id":"23441","subject":"Replication of shared repositories","startedAt":"2010-04-13T07:45:20Z","lastAt":"2010-04-15T04:55:39Z","messageCount":2,"participants":["cdossantos","Ramkumar Ramachandra"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"139397","messageId":"1271144720027-4894649.post@n2.nabble.com","threadId":"23441","inReplyTo":null,"subject":"Replication of shared repositories","fromName":"cdossantos","fromEmail":"claudia.dossantos@ricoh-europe.com","sentAt":"2010-04-13T07:45:20Z","receivedAt":"2010-04-13T07:45:20Z","isPatch":false,"sender":{"key":"claudia.dossantos@ricoh-europe.com","avatar":null},"body":"\nHello,\n\n\nI would like to replicate the contents of my GIT shared repository to\nanother server, a sort of mirror, but i didn't find any references about\nthat. I know that hook scripts run locally. However, could i have a post\ncommit script that after a local commit, not only starts a push to the\nshared repository but starts as well a push from the shared repository to\nanother server ? \n\nThanks in advance, \n\nSantos \n-- \nView this message in context: http://n2.nabble.com/Replication-of-shared-repositories-tp4894649p4894649.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"139552","messageId":"x2uf3271551004142155g2370b9bam16aa00590ecb3f92@mail.gmail.com","threadId":"23441","inReplyTo":"1271144720027-4894649.post@n2.nabble.com","subject":"Re: Replication of shared repositories","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2010-04-15T04:55:39Z","receivedAt":"2010-04-15T04:55:39Z","isPatch":false,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"> I would like to replicate the contents of my GIT shared repository to\n> another server, a sort of mirror, but i didn't find any references about\n> that.\n\nJust push to two different remotes.\n\n> I know that hook scripts run locally. However, could i have a post\n> commit script that after a local commit, not only starts a push to the\n> shared repository but starts as well a push from the shared repository to\n> another server ?\n\nI suppose you could do this.\n\n-- Ram\n"}]}