On Tue, 3 Sep 2013 02:30:36 -0700 (PDT)
Quentin Silvestre <quentiniswork...@gmail.com> wrote:

> I have a repository with a remote repository.
> My colleague had the very bad idea to put 4 project into the same 
> repository.
> So basically here is my folder structure:
> root
>  + project 1
>  + project 2
>  + project 3
>  + project 4
> So I'm trying to separate all theses projects in 4 different git.
> But I want to keep all the commit they did for each projects.

Use the git-subtree tool.  Since some version of Git it's included in
its "contrib" section [2] (this tool is a shell script), and with older
versions of Git, it could be fetched off its original project
repository [1].

The git-subtree's command you need is "split".

1. https://github.com/apenwarr/git-subtree
2. https://github.com/git/git/tree/master/contrib/subtree

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to