Re: how to combine two clones in a collection
- From
- Kalle Pokki <kalle.pokki@iki.fi>
- Date
- Jul 10, 2007, 19:27 UTC
- Message-ID
- <m3644suki6.fsf@host32.eke.fi>
- In-Reply-To
- <72218C10-EE5E-4CD9-B5DE-DFEC40EBEF27@silverinsanity.com>
Brian Gernhardt <benji@silverinsanity.com> writes:
Show 5 quoted lines
> 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:repo2This way the branches don't share anything, do they?