From: Stephen Kelly <steveire@gmail.com>
To: git@vger.kernel.org
Subject: Additional remote on a local clone. Where do the objects go?
Date: Wed, 01 Sep 2010 09:12:59 +0200 [thread overview]
Message-ID: <i5kudr$dp7$1@dough.gmane.org> (raw)
Hi,
I have done something like this :
git clone git://gitorious.org/qt/qt.git qtrepo
cd qtrepo
git checkout -b 4.7 origin/4.7
git checkout -b 4.6 origin/4.6
git clone qtrepo qt46
cd qt46 && git checkout -b 4.6 origin/4.6
cd ..
git clone qtrepo qt47
cd qt46 && git checkout -b 4.7 origin/4.7
cd ..
The aim is to have multiple local checkouts of different branches of Qt
while sharing the same object store. However, it is inconvenient to have to
pull in the qtrepo directory, then cd to the other two to get the changes.
It would be more convenient to be able to add the qt.git remote to the local
clones, pull from it, and have the pulled objects shared in the same object
store. Is that possible or is it what already happens? I will also want to
add additional remotes for pushing changes to from the local clones.
All the best,
Steve.
next reply other threads:[~2010-09-01 7:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-01 7:12 Stephen Kelly [this message]
2010-09-01 10:32 ` Additional remote on a local clone. Where do the objects go? Tay Ray Chuan
2010-09-01 11:51 ` Stephen Kelly
2010-09-04 14:15 ` Tay Ray Chuan
2010-09-05 23:50 ` Stephen Kelly
2010-09-01 10:34 ` 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='i5kudr$dp7$1@dough.gmane.org' \
--to=steveire@gmail.com \
--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).