{"thread":{"id":"22997","subject":"Linking two remote repositories","startedAt":"2010-03-12T14:09:36Z","lastAt":"2010-03-12T16:10:07Z","messageCount":2,"participants":["Pavel","Jens Lehmann"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"136659","messageId":"loom.20100312T145901-192@post.gmane.org","threadId":"22997","inReplyTo":null,"subject":"Linking two remote repositories","fromName":"Pavel","fromEmail":"paullus325@gmail.com","sentAt":"2010-03-12T14:09:36Z","receivedAt":"2010-03-12T14:09:36Z","isPatch":false,"sender":{"key":"paullus325@gmail.com","avatar":null},"body":"Hi All,\nI'm just investigating of using git for following:\nWe have two development teams in far direction from each other and very slow\nnetwork connection between them. Currently they are using one Subversion\nrepository on one side, but committing from other side is very-very slow. \n\nThe idea is to setup two git repositories in two locations and developers will\ncommit in there local repository. But what I can't figure out it's how to\nconnect those repositories between each other, I do not want to have two\n\"special\" people to push between remote repositories. \nIs there any ideas how to connect two repositories and have actual code versions\non both of them ?\n\nThanks, Pavel.\n"},{"id":"136661","messageId":"4B9A675F.6050309@web.de","threadId":"22997","inReplyTo":"loom.20100312T145901-192@post.gmane.org","subject":"Re: Linking two remote repositories","fromName":"Jens Lehmann","fromEmail":"jens.lehmann@web.de","sentAt":"2010-03-12T16:10:07Z","receivedAt":"2010-03-12T16:10:07Z","isPatch":false,"sender":{"key":"jens.lehmann@web.de","avatar":"https://avatars.githubusercontent.com/u/135220?v=4"},"body":"Am 12.03.2010 15:09, schrieb Pavel:\n> Hi All,\n> I'm just investigating of using git for following:\n> We have two development teams in far direction from each other and very slow\n> network connection between them. Currently they are using one Subversion\n> repository on one side, but committing from other side is very-very slow. \n> \n> The idea is to setup two git repositories in two locations and developers will\n> commit in there local repository. But what I can't figure out it's how to\n> connect those repositories between each other, I do not want to have two\n> \"special\" people to push between remote repositories. \n> Is there any ideas how to connect two repositories and have actual code versions\n> on both of them ?\n\nHaving a similar setup at my dayjob, I think it should be sufficient to\nhave only one git server (maybe at the location where your svn-server is\nnow). As git keeps a local copy of the whole repo operations like commit,\ndiff and merge are fast and independent of network speed. Only clone, fetch\nand push go over the slow network connection, but for us this is fast\nenough (and a lot faster than our old RCS based VCS, which was basically\nunusable for this scenario).\n"}]}