Additional remote on a local clone. Where do the objects go?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]