threads / discuss / 10364

Splitting a repository

Subject: Splitting a repository

## tl;dr

2 messages between Oct 18, 2007 and Oct 19, 2007.

replies: 1people: 2as markdown or json

Gonzalo Garramuno· Oct 18, 2007, 17:35 UTC · lore
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· Oct 19, 2007, 00:33 UTC · re: Gonzalo Garramuno · lore

Re: Splitting a repository

On Thu, Oct 18, 2007 at 02:35:00PM -0300, Gonzalo Garramuno wrote:
Show 5 quoted lines
> 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

← back to recent threads