Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hi,

I have updated the bin/g script so that it is now possible to use it for
cloning the repos.  This might be particularly useful when you want to
have your branch in a separate location, but use your main repo as the
reference to save your inet traffic.

Let's say you have your 'master' repo in /local/libreoffice/master,
like:

cd /local/libreoffice
git clone ssh://git.freedesktop.org/git/libreoffice/build master
[...]

and you want to have the branch in /local/libreoffice/libreoffice-3-3.
Then you do:

cd /local/libreoffice
git clone ssh://git.freedesktop.org/git/libreoffice/build \
    libreoffice-3-3
cd libreoffice-3-3
git checkout -b libreoffice-3-3 origin/libreoffice-3-3
bin/g clone --reference /local/libreoffice/master/clone/@REPO@ \
      ssh://git.freedesktop.org/git/libreoffice/@REPO@
bin/g checkout -b libreoffice-3-3 origin/libreoffice-3-3

This will save you quite some time that you'd spend cloning the full
repos.

HTH,
Kendy


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.