git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Pico Geyer" <picogeyer@gmail.com>
To: git@vger.kernel.org
Subject: Help using Git(-svn) for specific use case
Date: Mon, 15 Sep 2008 14:50:00 +0200	[thread overview]
Message-ID: <aa2b76740809150550q724ab0f4x99a27fa21d90c0fb@mail.gmail.com> (raw)

Hi all.

I'd like to start using Git within our company. I'm still trying to
determine if Git can work in our scenario.
May be someone can offer some advice.
Our scenario is as follows:
We have a handful of developers which work at a branch office. This
office has a rather slow internet connection.
At the head office, we are (still) using a Subversion server to host
our source code.
At the branch office, we would like to do the following:
* Fetch the latest code from the subversion server.
* Push changes that we have made at the remote office back to upstream
SVN server.
* Be able to share source code changes locally (at the branch office)
between developers.

The solution that I imagined is that we would setup a server (lets
call it A) at the branch office with a Git repository, that all the
developers can access.
Developers would then clone the server repository A, make mods and
then push changes back to A.
It would be nice if git users could commit to a subversion branch.
A merge master would then (as necessary) use svn dcommit to push the
changes up to the svn server.
Is this scenario possible?

>From the git-svn man page: "git-clone does not clone branches under
the refs/remotes/ hierarchy or any git-svn metadata, or config. So
repositories created and managed with using git-svn should use rsync
for cloning, if cloning is to be done at all."
Does that mean that one should not push changes to a repository that
was created with "git svn clone ..."?

Thanks in advance for any advice.

Pico Geyer

             reply	other threads:[~2008-09-15 12:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-15 12:50 Pico Geyer [this message]
2008-09-15 15:12 ` Help using Git(-svn) for specific use case Michael J Gruber
2008-09-15 19:55 ` Dmitry Potapov
2008-09-15 20:59   ` Sverre Rabbelier
2008-09-15 21:15     ` Michael J Gruber
2008-09-15 21:47       ` Dmitry Potapov
2008-09-15 22:53         ` Pico Geyer
2008-09-17 14:09   ` Pico Geyer
2008-09-18  5:56     ` Dmitry Potapov

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=aa2b76740809150550q724ab0f4x99a27fa21d90c0fb@mail.gmail.com \
    --to=picogeyer@gmail.com \
    --cc=git@vger.kernel.org \
    /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).