git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Additional remote on a local clone. Where do the objects go?
@ 2010-09-01  7:12 Stephen Kelly
  2010-09-01 10:32 ` Tay Ray Chuan
  2010-09-01 10:34 ` Jakub Narebski
  0 siblings, 2 replies; 6+ messages in thread
From: Stephen Kelly @ 2010-09-01  7:12 UTC (permalink / raw)
  To: git

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-09-05 23:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-01  7:12 Additional remote on a local clone. Where do the objects go? Stephen Kelly
2010-09-01 10:32 ` 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

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).