# Bi-directional sync with Git - direct access to server?

1 messages from 2011-03-04 to 2011-03-04. Participants: psantosl@codicesoftware.com.
Thread: https://gitlist.dev/t/26659

## psantosl@codicesoftware.com, 2011-03-04 17:44

Subject: Bi-directional sync with Git - direct access to server?
Message-ID: <4D712509.1070704@codicesoftware.com>
URL: https://gitlist.dev/e/4D712509.1070704%40codicesoftware.com

```
Hi,

I'm developing a bi-directional synchronization between Plastic SCM and Git.

I've seen the hg-git Mercurial plugin by Scott Chacon and it uses a
local git repos to perform all operations, instead of directly "calling"
the "remote git server".

Well, considering Chacon did it this way, I guess there's no better way
to do it but I wanted to ask if there's a way to receive info about
commits (revisions) remotely (like, "give me your tree of commits and
how they're related so I can check with mines") and also a good way to
create a "push" without having a full local git repos. I'm looking into
the NGit and lib2git libraries.

Thanks,

pablo

```
