发自我的华为手机


-------- 原始邮件 --------
主题:Re: [trinity-devel] How to clone with submodules from TDE git mirror?
发件人:Slávek Banko
收件人:trinity-devel@...
抄送:

Dne po 22. července 2019 Slávek Banko napsal(a):
> Dne po 22. července 2019 Mike Bird napsal(a):
> > Thanks for the pointers.  This seems to work for cloning the mirror
> > repo when the main repo is unavailable for retrieving scripts:
> >
> > git clone https://mirror.git.trinitydesktop.org/gitea/TDE/tde
> > git clone https://mirror.git.trinitydesktop.org/gitea/TDE/scripts
> > cd tde
> > ../scripts/switch_all_submodules_to_head_and_clean anonymous
> > rm -rf ../scripts
> >
> > --Mike
>
> Here is one simplification:
>
> git clone https://mirror.git.trinitydesktop.org/gitea/TDE/tde
> git clone https://mirror.git.trinitydesktop.org/gitea/TDE/scripts
> tde/scripts
> cd tde
> ../scripts/switch_all_submodules_to_head_and_clean anonymous
>
>
> ...because scripts can be cloned directly to the desired location in the
> main 'tde' module, so we can remove git submodule init and update from
> the original instructions.
>
> I think that this way we can edit it in Readme.md.
> What is your opinion?
>
> Cheers

...of course it was supposed to be "./scripts/...", as in the original
instructions. So once again and correctly:

git clone https://mirror.git.trinitydesktop.org/gitea/TDE/tde
git clone https://mirror.git.trinitydesktop.org/gitea/TDE/scripts tde/scripts
cd tde
./scripts/switch_all_submodules_to_head_and_clean anonymous


Cheers
--