git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chris Packham <judge.packham@gmail.com>
To: "Kovacs, Levente" <leventelist@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: split up a repository
Date: Mon, 1 Mar 2010 16:36:07 -0800	[thread overview]
Message-ID: <a038bef51003011636n6dda8296k655b9d367cee9e91@mail.gmail.com> (raw)
In-Reply-To: <20100302011226.76fda85d@gmail.com>

Hi,

On Mon, Mar 1, 2010 at 4:12 PM, Kovacs, Levente <leventelist@gmail.com> wrote:
> Hi all,
>
>
> Ok, I *WAS* an SVN user, so forgive my ignorance. I have successfully
> migrated from SVN to git. However, I had only one repository under my
> SVN server, which is not a good approach with git.
>
> http://logonex.eu/git/?p=svn.git;a=summary
>
> Now I have one git repository, which I'd like to split up to several others. Does it possible with git? If it is, how?
>
> How can I split up a single repo to several others? It would be nice to
> keep the history.
>
> Thank you for your help in advance.
>
> Levente
> --

'git filter-branch' should do what you need. Have a read of this [1]
recent discussion and the docs for filter-branch [2].

[1] http://thread.gmane.org/gmane.comp.version-control.git/138382
[2] http://www.kernel.org/pub/software/scm/git/docs/v1.7.0.1/git-filter-branch.html

  reply	other threads:[~2010-03-02  0:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-02  0:12 split up a repository Kovacs, Levente
2010-03-02  0:36 ` Chris Packham [this message]
2010-03-02 10:40 ` Sverre Rabbelier
2010-03-02 23:21   ` Levente Kovacs
2010-03-02 23:19     ` Sverre Rabbelier
2010-03-03  1:40     ` Avery Pennarun
2010-03-03 14:04       ` Bill Lear
2010-03-03 19:19         ` Avery Pennarun

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=a038bef51003011636n6dda8296k655b9d367cee9e91@mail.gmail.com \
    --to=judge.packham@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=leventelist@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).