git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Lehmann <Jens.Lehmann@web.de>
To: Pavel <paullus325@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Linking two remote repositories
Date: Fri, 12 Mar 2010 17:10:07 +0100	[thread overview]
Message-ID: <4B9A675F.6050309@web.de> (raw)
In-Reply-To: <loom.20100312T145901-192@post.gmane.org>

Am 12.03.2010 15:09, schrieb Pavel:
> Hi All,
> I'm just investigating of using git for following:
> We have two development teams in far direction from each other and very slow
> network connection between them. Currently they are using one Subversion
> repository on one side, but committing from other side is very-very slow. 
> 
> The idea is to setup two git repositories in two locations and developers will
> commit in there local repository. But what I can't figure out it's how to
> connect those repositories between each other, I do not want to have two
> "special" people to push between remote repositories. 
> Is there any ideas how to connect two repositories and have actual code versions
> on both of them ?

Having a similar setup at my dayjob, I think it should be sufficient to
have only one git server (maybe at the location where your svn-server is
now). As git keeps a local copy of the whole repo operations like commit,
diff and merge are fast and independent of network speed. Only clone, fetch
and push go over the slow network connection, but for us this is fast
enough (and a lot faster than our old RCS based VCS, which was basically
unusable for this scenario).

      reply	other threads:[~2010-03-12 16:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-12 14:09 Linking two remote repositories Pavel
2010-03-12 16:10 ` Jens Lehmann [this message]

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=4B9A675F.6050309@web.de \
    --to=jens.lehmann@web.de \
    --cc=git@vger.kernel.org \
    --cc=paullus325@gmail.com \
    /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).