From: Kalle Pokki <kalle.pokki@iki.fi>
To: git@vger.kernel.org
Subject: Re: how to combine two clones in a collection
Date: 10 Jul 2007 22:27:45 +0300 [thread overview]
Message-ID: <m3644suki6.fsf@host32.eke.fi> (raw)
In-Reply-To: 72218C10-EE5E-4CD9-B5DE-DFEC40EBEF27@silverinsanity.com
Brian Gernhardt <benji@silverinsanity.com> 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?
next prev parent reply other threads:[~2007-07-10 19:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-09 22:22 how to combine two clones in a collection martin f krafft
2007-07-10 2:35 ` Linus Torvalds
2007-07-10 6:21 ` martin f krafft
2007-07-10 7:17 ` Junio C Hamano
2007-07-10 7:40 ` martin f krafft
2007-07-10 7:51 ` Martin Langhoff
2007-07-10 17:05 ` Linus Torvalds
2007-07-10 17:45 ` martin f krafft
2007-07-10 18:27 ` Brian Gernhardt
2007-07-10 19:27 ` Kalle Pokki [this message]
2007-07-10 20:00 ` Brian Gernhardt
2007-07-10 23:45 ` Robin Rosenberg
2007-07-11 18:13 ` martin f krafft
2007-07-11 18:37 ` Johannes Schindelin
2007-07-11 19:22 ` martin f krafft
2007-07-11 10:46 ` Jakub Narebski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3644suki6.fsf@host32.eke.fi \
--to=kalle.pokki@iki.fi \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).