# Splitting a repository

2 messages from 2007-10-18 to 2007-10-19. Participants: Gonzalo Garramuno, Jeff King.
Thread: https://gitlist.dev/t/10364

## Gonzalo Garramuno, 2007-10-18 17:35

Subject: Splitting a repository
Message-ID: <47179944.6080608@filmaura.com>
URL: https://gitlist.dev/e/47179944.6080608%40filmaura.com

```

I have a project I have been working on for some time and one of its 
libraries has grown too much.
I'm now wanting to split that library into a separate git repository.
I'm wondering what's the best way to go around this.  Ideally I would 
like to have:
	* all history on those library files be moved to the new repository.
	* all history on those library files be removed from the original 
repository.

or:
	* have the original repository library directory be "linked" to the new 
repository.


-- 
Gonzalo Garramuño

Film Aura
A New Dawn in Media Companies

gga@filmaura.com
http://www.filmaura.com

```

## Jeff King, 2007-10-19 00:33

Subject: Re: Splitting a repository
Message-ID: <20071019003334.GA3290@coredump.intra.peff.net>
URL: https://gitlist.dev/e/20071019003334.GA3290%40coredump.intra.peff.net
In-Reply-To: <47179944.6080608@filmaura.com>

```
On Thu, Oct 18, 2007 at 02:35:00PM -0300, Gonzalo Garramuno wrote:

> I have a project I have been working on for some time and one of its 
> libraries has grown too much.
> I'm now wanting to split that library into a separate git repository.
> I'm wondering what's the best way to go around this.  Ideally I would like 
> to have:

Look at the documentation for "git-filter-branch". You can make a new
history for each of the split parts that you want.

-Peff

```
