Some like this: init empty rep: > mkdir doctestru && cd doctestru > git init > config for remote rep:
> git remote add -f origin git://git.php.net/playground.git > git config branch.master.remote origin > git config branch.master.merge refs/heads/master > config sparse checkout: > git config core.sparsecheckout true > echo PHPDoE_git_test/ru/ > .git/info/sparse-checkout > get files: > git pull now we have only PHPDoE_git_test/ru/ directory I did not use git clone, becouse we do not want to get all files. With regards, Alexander Moskaliov ir...@irker.net 2011/12/31 Alexey Shein <con...@gmail.com>: > It seems kinda tricky, have you tested it? Does it work at all with our docs? > > 2011/12/31 Alexander Moskaliov <ir...@irker.net>: >> Hello! >> Was there any discussion about "sparse checkout" in git 1.7? >> I find only that we can not use submodules for php-doc. >> I think sparce checkout what we need. >> >> Git manual http://schacon.github.com/git/git-read-tree.html#_sparse_checkout . >> For example I can checkout only ru, en and doc-base directory. >> >> >> With regards, Alexander Moskaliov >> ir...@irker.net > > > > -- > Regards, > Shein Alexey