Skip to contentSkip to conversation

Splitting a repository

DISCUSSION Gonzalo Garramuno 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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.

Signature · 7 lines
Gonzalo Garramuño

Film Aura
A New Dawn in Media Companies

[email protected]
http://www.filmaura.com
#1 lore raw
Quoted 5 lines · Gonzalo Garramuno

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