Subject: Re: how to combine two clones in a collection

From: Kalle Pokki <[email-masked]>
Date: 10 Jul 2007 22:27:45 +0300

Brian Gernhardt <[email-masked]> writes:

> What you describe won't create two independent branches.  They'll
> share the root commit.  I think what you have do is create the first
> branch as normal, then clear out the working copy (be sure not to
> delete .git) and do the commit manually.  I believe it goes something
> like this:

You can also just create two different git repositories and start making
the commits in the master (or any other) branch. Then combine the
repositories by fetching

        cd repo1
        git fetch ../repo2 master:repo2

This way the branches don't share anything, do they?