FR: Clone just the desired subdirectory
- From
- Laszlo Papp <djszapi@archlinux.us>
- Date
- Jun 25, 2010, 14:24 UTC
- Message-ID
- <AANLkTilyvCWyWzqPGxtg9tkRM5SjXxbt50P5zImlxCHD@mail.gmail.com>
Hi,
Is there a way to clone git://git.openembedded.org/openembedded/recipes/qt4, not the whole repository ?
I have just tried this command, but it doesn't service the capable habit: git clone --depth 1 git://git.openembedded.org/openembedded/
I have seen on a good feature in case gitorious where you can select a folder to download in a compressed format (*.tar.gz for instance). Can it be implemented in case git 'backend' ?
My friend asked it from me, but I couldn't advise anything to him, but this request does make sense by me. So he would like to download a part of a git repository and he is not interested in the index and the history, so it would be nice to have something like git archive --remote or similar command which can do this operation.
Best Regards, Laszlo Papp