How to checkout or clone sub directory from Gitlab project

Hi - This is my post. Hoping that I have posted on appropriate section.
I have installed gitlabCE on linux.
Configured Enterprise ldap with gitlab
Created Groups & given permissions to create project under their groups.

I can checkout or get single file from git project using wget or curl on raw URL.
how to checkout subdirectory under git project ? I can use svn checkout on svn repository to get partial directory. But we dont want to use svn binary for git project on linux.

I see clone of whole project, wget on raw url of single file. How do I checkout sub directory from gitlab project?

Thanks,
Anil

Hi

Please check this option Sparse Check-out

1 Like

You do it through Sparse Check-Out as Ershad said.

Have a look at this: http://jasonkarns.com/blog/subdirectory-checkouts-with-git-sparse-checkout/